diff options
author | Robert C. Helling <helling@atdotde.de> | 2018-10-28 19:10:09 +0100 |
---|---|---|
committer | bstoeger <32835590+bstoeger@users.noreply.github.com> | 2018-10-28 19:59:07 +0100 |
commit | 4cea7b49016923e3f9bb00b60976d7635907e038 (patch) | |
tree | 7c331dbf6b12b75f31028236f43933807fddafe5 /CMakeLists.txt | |
parent | f8768e40b420fe89fe12e67d35f2bd8fc85a4995 (diff) | |
download | subsurface-4cea7b49016923e3f9bb00b60976d7635907e038.tar.gz |
std99 does not make sense for C++
... and makes Qt Creator fail to parse files.
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 40578870a..caec2fbe2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -72,7 +72,7 @@ add_definitions(-DSUBSURFACE_SOURCE="${SUBSURFACE_SOURCE}") # if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 ") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu99 -Wno-inconsistent-missing-override") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-inconsistent-missing-override") if((${CMAKE_SYSTEM_NAME} MATCHES "Darwin") AND ((${CMAKE_SYSTEM_VERSION} MATCHES "11.4.") OR (${CMAKE_OSX_DEPLOYMENT_TARGET} MATCHES "10.7") OR |