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

List:       kde-commits
Subject:    [smokeqt] /: disable deprecation warnings
From:       Arno Rehn <arno () arnorehn ! de>
Date:       2012-07-31 19:58:09
Message-ID: 20120731195809.59AF8A6094 () git ! kde ! org
[Download RAW message or body]

Git commit e233aba11a7234a208e129eadcb58d6b0db73a1f by Arno Rehn.
Committed on 31/07/2012 at 21:56.
Pushed by arnorehn into branch 'master'.

disable deprecation warnings

M  +5    -0    CMakeLists.txt

http://commits.kde.org/smokeqt/e233aba11a7234a208e129eadcb58d6b0db73a1f

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 31736c3..57eb1f4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -18,6 +18,11 @@ if (NOT LIB_INSTALL_DIR)
     set (LIB_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX})
 endif (NOT LIB_INSTALL_DIR)
 
+## disable deprecation waringins
+if(CMAKE_COMPILER_IS_GNUCXX)
+    set(CMAKE_CXX_FLAGS "-Wno-deprecated-declarations")
+endif()
+
 macro_optional_find_package(QImageBlitz)
 macro_log_feature(QIMAGEBLITZ_FOUND "QImageBlitz" "QImageBlitz library" \
"http://www.kde.org" FALSE "" "Needed to compile QImageBlitz bindings")  


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

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