Enabling C++11 flags for clang and gcc
This commit is contained in:
parent
66e8c5aee8
commit
7c5e2e49ae
@ -41,6 +41,12 @@ 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 #################
|
||||
|
||||
if(UNIX)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=c++0x")
|
||||
endif()
|
||||
|
||||
################# now find all used packages #################
|
||||
|
||||
set (QT_MIN_VERSION "5.2.0")
|
||||
|
Loading…
Reference in New Issue
Block a user