[Kde-bindings] KDE/kdebindings/smoke/qt

Caleb Tennis caleb at gentoo.org
Tue Mar 6 15:10:31 UTC 2007


SVN commit 640015 by ctennis:

QT_USE_QTDBUS doesn't work on cmake 2.4.6, so put this in place to make
dbus linkage work again until 2.4.7 is released.

CCMAIL: kde-bindings at kde.org



 M  +4 -2      CMakeLists.txt  


--- trunk/KDE/kdebindings/smoke/qt/CMakeLists.txt #640014:640015
@@ -91,7 +91,9 @@
 SET(QT_USE_QTSVG ${QT_QTSVG_FOUND})
 SET(QT_USE_QTUITOOLS ${QT_QTUITOOLS_FOUND})
 SET(QT_USE_QT3SUPPORT ${QT_QT3SUPPORT_FOUND})
-SET(QT_USE_QTDBUS ${QT_QTDBUS_FOUND})
+#SET(QT_USE_QTDBUS ${QT_QTDBUS_FOUND)
+# The above line doesn't work with cmake 2.4.6, but should be fixed in later versions
+
 INCLUDE(${QT_USE_FILE})
 # At this point, QT_LIBRARIES will contain a list of the found Qt Libs
 # and QT_INCLUDES contains the directories of the found includes
@@ -109,7 +111,7 @@
 ENDFOREACH(libname)
 
 
-target_link_libraries(smokeqt ${QT_LIBRARIES} ${QSCINTILLA_LIBRARIES} ${QWT_LIBRARIES} )
+target_link_libraries(smokeqt ${QT_LIBRARIES} ${QSCINTILLA_LIBRARIES} ${QWT_LIBRARIES} ${QT_QTDBUS_LIBRARY} )
 
 set_target_properties(smokeqt PROPERTIES VERSION 2.0.0 SOVERSION 2 )
 install(TARGETS smokeqt DESTINATION ${INSTALL_DIR}/lib )



More information about the Kde-bindings mailing list