Blame add_qt_kde_definitions.diff
|
Rex Dieter |
09c3536 |
From: Sune Vuorela <sune@debian.org>
|
|
Rex Dieter |
09c3536 |
From: Modestas Vainius <modax@debian.org>
|
|
Rex Dieter |
09c3536 |
Subject: define Qt/KDE definitions when building standalone
|
|
Rex Dieter |
09c3536 |
Forwarded: no
|
|
Rex Dieter |
09c3536 |
Last-Update: 2011-06-30
|
|
Rex Dieter |
09c3536 |
Origin: vendor
|
|
Rex Dieter |
09c3536 |
|
|
Rex Dieter |
09c3536 |
Index: b/CMakeLists.txt
|
|
Rex Dieter |
09c3536 |
===================================================================
|
|
Rex Dieter |
09c3536 |
--- a/CMakeLists.txt
|
|
Rex Dieter |
09c3536 |
+++ b/CMakeLists.txt
|
|
Rex Dieter |
09c3536 |
@@ -35,6 +35,8 @@ set_package_properties(PythonInterp PROP
|
|
Rex Dieter |
09c3536 |
|
|
Rex Dieter |
09c3536 |
include_directories(${KDE4_INCLUDES})
|
|
Rex Dieter |
09c3536 |
|
|
Rex Dieter |
09c3536 |
+add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS} -DQT3_SUPPORT)
|
|
Rex Dieter |
09c3536 |
+
|
|
Rex Dieter |
09c3536 |
find_package(SIP)
|
|
Rex Dieter |
09c3536 |
set_package_properties(SIP PROPERTIES DESCRIPTION "The SIP binding generator"
|
|
Rex Dieter |
09c3536 |
URL "http://riverbankcomputing.com" TYPE REQUIRED
|