Skip to content

Commit fa7f305

Browse files
authored
Set c++ standard to 17 (#376)
* Set CPP standard to 17 * merge with existing cmake call
1 parent 90118c7 commit fa7f305

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ unset(isSystemDir)
6969
# C++ standard
7070
if(NOT DEFINED CMAKE_CXX_STANDARD)
7171
set(CMAKE_CXX_STANDARD 17)
72+
set(CMAKE_CXX_STANDARD_REQUIRED TRUE)
7273
endif()
7374

7475
# Add compiler flags for warnings and (more importantly) fPIC and debug symbols

0 commit comments

Comments
 (0)