Skip to content

Commit

Permalink
Disable extensions and force standard
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjc123 committed Oct 24, 2018
1 parent f6dadcf commit 478a518
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ if (CMAKE_VERSION VERSION_LESS "3.1")
add_definitions(-std=c++11)
else()
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
endif()

if (POLICY CMP0048)
Expand Down

0 comments on commit 478a518

Please sign in to comment.