Skip to content

Commit

Permalink
set CMAKE_CXX_STANDARD
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Sep 28, 2024
1 parent 1d153e8 commit 3a782b5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ else()
message(WARNING "Unable to identify OS. Update script to support distribution or OS")
endif()

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

if(MSVC)
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
if(NOT DEFINED CMAKE_MSVC_RUNTIME_LIBRARY)
Expand Down

0 comments on commit 3a782b5

Please sign in to comment.