Turn off compiler extensions

We want to be somewhat standards compliant if we can.
This commit is contained in:
Simon Richter 2018-10-18 20:23:59 +02:00 committed by Seth Hillbrand
parent 9757107b61
commit 2c22bb1a60
1 changed files with 1 additions and 0 deletions

View File

@ -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)