Browse Source

Increase C++ standard to 17

master
Riyyi 4 years ago
parent
commit
108e999332
  1. 4
      CMakeLists.txt

4
CMakeLists.txt

@ -56,7 +56,7 @@ set(GAME_SOURCES ${GAME_SOURCES})
# ------------------------------------------ # ------------------------------------------
project(${ENGINE}) project(${ENGINE})
set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD 17)
# GLFW # GLFW
set(GLFW_BUILD_DOCS OFF CACHE BOOL "" FORCE) set(GLFW_BUILD_DOCS OFF CACHE BOOL "" FORCE)
@ -72,7 +72,7 @@ target_link_libraries(${ENGINE} glfw)
# ------------------------------------------ # ------------------------------------------
project(${GAME}) project(${GAME})
set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD 17)
add_executable(${GAME} ${GAME_SOURCES}) add_executable(${GAME} ${GAME_SOURCES})
target_link_libraries(${GAME} ${ENGINE}) target_link_libraries(${GAME} ${ENGINE})

Loading…
Cancel
Save