From 4cea7b49016923e3f9bb00b60976d7635907e038 Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Sun, 28 Oct 2018 19:10:09 +0100 Subject: [PATCH] std99 does not make sense for C++ ... and makes Qt Creator fail to parse files. Signed-off-by: Robert C. Helling --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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