[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdev-php] /: Enable C++11
From:       Milian Wolff <mail () milianw ! de>
Date:       2013-12-14 14:32:32
Message-ID: E1VrqGe-0001xh-CQ () scm ! kde ! org
[Download RAW message or body]

Git commit bfbde8897803ecc1e5473689803143a448ccea54 by Milian Wolff.
Committed on 14/12/2013 at 14:32.
Pushed by mwolff into branch 'master'.

Enable C++11

M  +4    -0    CMakeLists.txt

http://commits.kde.org/kdev-php/bfbde8897803ecc1e5473689803143a448ccea54

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4e33aa5..9c0040f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -34,6 +34,10 @@ include_directories(
 
 add_definitions( -DKDE_DEFAULT_DEBUG_AREA=9043 )
 
+if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR \
CMAKE_CXX_COMPILER_ID STREQUAL "Intel") +    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} \
-std=c++11") +endif()
+
 find_package(KDevelop-PG-Qt REQUIRED)
 
 include_directories(


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic