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

List:       kde-commits
Subject:    [kdev-python] /: Enable c++11
From:       Milian Wolff <mail () milianw ! de>
Date:       2013-12-14 14:58:15
Message-ID: E1VrqfX-0000I3-O4 () scm ! kde ! org
[Download RAW message or body]

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

Enable c++11

M  +4    -0    CMakeLists.txt

http://commits.kde.org/kdev-python/63581ec2659a7d45eb8b2dd750177da6dbca1e96

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 541924a..78bef15 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -43,6 +43,10 @@ include_directories(
 
 add_definitions( -DKDE_DEFAULT_DEBUG_AREA=9011 )
 
+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()
+
 include_directories(
     ${CMAKE_CURRENT_BINARY_DIR}/parser
 )


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

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