Merge pull request #14674 from jaredjones/patch-1

CMake OS X: Fixed Debug Mode for Xcode
(cherry picked from commit b96e70af71)
This commit is contained in:
Duarte Duarte
2015-05-19 18:47:22 +01:00
committed by DDuarte
parent f4c1a8fb2d
commit 90e2b7266b

View File

@@ -17,3 +17,4 @@ endif()
# -Wno-narrowing needed to suppress a warning in g3d
# -Wno-deprecated-register is needed to suppress 185 gsoap warnings on Unix systems.
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-narrowing -Wno-deprecated-register")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DDEBUG=1")