[amarok] /: Enable C++11 features, as discussed with other core devs.
Mark Kretschmann
kretschmann at kde.org
Sun Oct 20 17:19:33 UTC 2013
Git commit 271ebaed8bd29a7ca78707fa6a696418c7c008b3 by Mark Kretschmann.
Committed on 20/10/2013 at 16:09.
Pushed by markey into branch 'master'.
Enable C++11 features, as discussed with other core devs.
Let the fun begin :)
CCMAIL: amarok-devel at kde.org
M +2 -0 CMakeLists.txt
M +2 -0 ChangeLog
http://commits.kde.org/amarok/271ebaed8bd29a7ca78707fa6a696418c7c008b3
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fa1ab0c..58cde99 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -16,6 +16,8 @@ option(WITH_PLAYGROUND "Enable building of playground scripts and applets (WARNI
include(CheckLibraryExists)
check_library_exists(dl dlopen "" LIBDL_FOUND)
+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") # Require C++11
+
############### Taglib
set(TAGLIB_MIN_VERSION "1.7")
diff --git a/ChangeLog b/ChangeLog
index b6ad644..c962483 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,6 +8,8 @@ VERSION 2.9-Beta 1
* Wikipedia can now be also used over SSL.
CHANGES:
+ * Amarok now uses some C++11 features. The subset used is defined by the
+ compilers currently supported by KDE.
BUGFIXES:
* Fixed crashes with Intel drivers due to Analyzer applet. (BR 323635)
More information about the Amarok-devel
mailing list