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

List:       kde-commits
Subject:    playground/base/plasma/applets/rssnow
From:       Rob Scheepmaker <r.scheepmaker () student ! utwente ! nl>
Date:       2008-08-25 16:13:45
Message-ID: 1219680825.440169.7944.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 852240 by scheepmaker:

This fix should avoid failing RSSNow builds on certain distros. Thanks to Ben van der 
Harg for this patch.



 M  +7 -2      CMakeLists.txt  


--- trunk/playground/base/plasma/applets/rssnow/CMakeLists.txt #852239:852240
@@ -1,6 +1,11 @@
 project(plasma-rssnow)
-include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${PLASMA_INCLUDE_DIR})
+find_package(KDE4 REQUIRED)
+find_package(Plasma REQUIRED)
 
+add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
+
+include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${PLASMA_INCLUDE_DIR} ${KDE4_INCLUDES})
+
 set(news_SRCS
     news.cpp
     header.cpp
@@ -11,7 +16,7 @@
 kde4_add_ui_files(news_SRCS config.ui)
 
 kde4_add_plugin(plasma_applet_rssnow ${news_SRCS})
-target_link_libraries(plasma_applet_rssnow ${PLASMA_LIBS} ${KDE4_KIO_LIBS})
+target_link_libraries(plasma_applet_rssnow ${PLASMA_LIBS} ${KDE4_KIO_LIBS} ${KDE4_KDEUI_LIBS})
 
 install(TARGETS plasma_applet_rssnow DESTINATION ${PLUGIN_INSTALL_DIR})
 install(FILES plasma-applet-rssnow.desktop DESTINATION ${SERVICES_INSTALL_DIR})
[prev in list] [next in list] [prev in thread] [next in thread] 

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