[CORE] Allowing compilation with c++11

This commit is contained in:
Yehonal
2016-08-10 12:39:25 +02:00
parent 6f7a046575
commit fc8599299e
6 changed files with 19 additions and 2 deletions

View File

@@ -13,3 +13,5 @@ if(WITH_COREDEBUG)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g3")
message(STATUS "Clang: Debug-flags set (-g3)")
endif()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-narrowing -Wno-deprecated-register")