Skip to content

Commit

Permalink
fix: promote project standard to: c++17
Browse files Browse the repository at this point in the history
  • Loading branch information
tcoyvwac committed Dec 25, 2022
1 parent c50f45e commit 3acf7d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ project(glslViewer
VERSION ${VERSION}
LANGUAGES CXX )

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

Expand All @@ -21,7 +21,7 @@ if(MSVC)
endif()

if (NO_X11 OR FORCE_GBM)
add_compile_options(-std=c++14 -DGLM_FORCE_CXX14 -fpermissive -Wno-psabi -lpthread)
add_compile_options(-std=c++17 -DGLM_FORCE_CXX17 -fpermissive -Wno-psabi -lpthread)
endif()

file(GLOB ROOT_SOURCE
Expand Down

0 comments on commit 3acf7d6

Please sign in to comment.