Build system: Fix clang build

See wiki for latest build instructions under Mac OS X!
This commit is contained in:
Gacko
2014-03-25 21:22:49 +01:00
parent f357597ec1
commit ef1bb6290a

View File

@@ -13,3 +13,6 @@ if(WITH_COREDEBUG)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g3")
message(STATUS "Clang: Debug-flags set (-g3)")
endif()
# -Wno-narrowing needed to suppress a warning in g3d
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-narrowing")