Skip to content
Snippets Groups Projects
Unverified Commit 478a5185 authored by peter's avatar peter
Browse files

Disable extensions and force standard

parent f6dadcf1
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment