Skip to content

Commit

Permalink
Upgraded to C++17
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanMabille committed May 31, 2024
1 parent 6092f01 commit 569a726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ set_target_properties(xleaflet PROPERTIES
CXX_EXTENSIONS OFF
CXX_STANDARD_REQUIRED 14)

target_compile_features(xleaflet PRIVATE cxx_std_14)
target_compile_features(xleaflet PRIVATE cxx_std_17)

if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Intel")
target_compile_options(xleaflet PUBLIC -Wunused-parameter -Wextra -Wreorder)
Expand Down

0 comments on commit 569a726

Please sign in to comment.