Update ProjectName

cpp
Elnu 3 years ago committed by GitHub
parent 4a5e917423
commit 47a9cdde14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,4 +1,4 @@
set(ProjectName "sfml-template") set(ProjectName "elnutris")
cmake_minimum_required(VERSION 3.10) cmake_minimum_required(VERSION 3.10)
set(CMAKE_CXX_STANDARD_17) set(CMAKE_CXX_STANDARD_17)
@ -11,4 +11,4 @@ add_executable(${ProjectName} ${SRC_FILES})
target_include_directories(${ProjectName} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include) target_include_directories(${ProjectName} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include)
find_package(SFML 2.5 COMPONENTS system window graphics network audio REQUIRED) find_package(SFML 2.5 COMPONENTS system window graphics network audio REQUIRED)
target_link_libraries(${ProjectName} sfml-graphics) target_link_libraries(${ProjectName} sfml-graphics)

Loading…
Cancel
Save