From 11086bb7913f94be49c66a76a0c70293458558ce Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Thu, 22 Feb 2018 15:49:16 +0100 Subject: [PATCH] drop the setting of c++0x Summary: this is already done by KDEFrameworkCompilerSettings so it's just duplicated now Test Plan: still builds and runs Reviewers: #plasma, kossebau Reviewed By: kossebau Subscribers: kossebau, plasma-devel, #frameworks Tags: #plasma, #frameworks Differential Revision: https://phabricator.kde.org/D10748 --- CMakeLists.txt | 7 ------- 1 file changed, 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 31f3959b4..fb6767453 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,13 +39,6 @@ if(KDE_PLATFORM_FEATURE_DISABLE_DEPRECATED) set(CMAKE_AUTOMOC_MOC_OPTIONS "-DKDE_NO_DEPRECATED") endif() -################# 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") - add_definitions("-Wall -std=c++0x") -endif() - ################# now find all used packages ################# set (REQUIRED_QT_VERSION 5.7.0)