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

List:       kde-commits
Subject:    [plasma-framework] /: Revert "Enabling C++11 flags for clang and gcc"
From:       Kevin Ottens <ervin () kde ! org>
Date:       2013-06-28 8:13:32
Message-ID: E1UsToC-0003mR-IU () scm ! kde ! org
[Download RAW message or body]

Git commit 597397b41f5450f24ddc784e0faa13133fed6bd5 by Kevin Ottens.
Committed on 28/06/2013 at 08:07.
Pushed by ervin into branch 'master'.

Revert "Enabling C++11 flags for clang and gcc"

This reverts commit 7c5e2e49ae5bef1d4071ff1ec555bd7b7beb61c5.

In KF5, C++11 is not to be assumed on all our platforms. So don't force
it from cmake. That said we have to make sure our code builds in both
case (C++11 available or not). I'll get in touch with the build.kde.org
admins to sort that out.

CCMAIL: ivan.cukic@kde.org

M  +0    -6    CMakeLists.txt

http://commits.kde.org/plasma-framework/597397b41f5450f24ddc784e0faa13133fed6bd5

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6264a5d..a0fae48 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -41,12 +41,6 @@ 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")
[prev in list] [next in list] [prev in thread] [next in thread] 

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