mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-27 20:58:47 +00:00
std99 does not make sense for C++
... and makes Qt Creator fail to parse files. Signed-off-by: Robert C. Helling <helling@atdotde.de>
This commit is contained in:
parent
f8768e40b4
commit
4cea7b4901
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue