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

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/dataengines/mouse
From:       Benjamin Reed <ranger () befunk ! com>
Date:       2007-10-12 19:15:31
Message-ID: 1192216531.374237.2648.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 724597 by reed:

fix for when Xfixes is not available

 M  +4 -2      CMakeLists.txt  


--- trunk/KDE/kdebase/workspace/plasma/dataengines/mouse/CMakeLists.txt #724596:724597
@@ -9,8 +9,10 @@
 endif (X11_Xfixes_FOUND)
 
 kde4_add_plugin(plasma_engine_mouse ${mouse_engine_SRCS})
-target_link_libraries(plasma_engine_mouse ${KDE4_KDEUI_LIBS} ${X11_Xfixes_LIB}
-plasma)
+target_link_libraries(plasma_engine_mouse ${KDE4_KDEUI_LIBS} plasma)
+if (X11_Xfixes_FOUND)
+	target_link_libraries(plasma_engine_mouse ${X11_Xfixes_LIB})
+endif (X11_Xfixes_FOUND)
 
 install(TARGETS plasma_engine_mouse DESTINATION ${PLUGIN_INSTALL_DIR})
 install(FILES plasma-engine-mouse.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