just use c++0x for now

gcc 4.6 and msvc still don't have -std=c++11
This commit is contained in:
Marco Martin 2013-09-11 11:15:29 +02:00
parent 247c01170a
commit a7e9b1261b
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ endif()
# in the KDE build system, this is the same as CMAKE_BINARY_DIR.
configure_file(${CMAKE_SOURCE_DIR}/CTestCustom.cmake ${CMAKE_BINARY_DIR}/CTestCustom.cmake COPYONLY)
################# Enable C++11 features for clang and gcc #################
################# Enable C++0x (still too early for -std=c++11) features for clang and gcc #################
if(UNIX)
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=c++0x")

View File

@ -3,7 +3,7 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
include(CheckCXXSourceCompiles)
add_definitions("-std=c++11")
add_definitions("-std=c++0x")
set(CMAKE_MODULE_PATH
/opt/kf5/usr/kde/share/ECM-0.0.8/find-modules/