Turn off compiler extensions
We want to be somewhat standards compliant if we can.
This commit is contained in:
parent
9757107b61
commit
2c22bb1a60
|
@ -131,6 +131,7 @@ set( CMAKE_POSITION_INDEPENDENT_CODE ON )
|
|||
|
||||
# Global setting: Use C++11
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue