KDE/kdeplasma-addons/applets
Maciej Mrozowski
reavertm at wp.pl
Fri Nov 27 17:41:36 CET 2009
SVN commit 1055232 by mmrozowski:
Allow Qalculate and Kdeobservatory to be disabled, this fixes two automagic dependencies.
CCMAIL: kde-buildsystem at kde.org
M +2 -2 CMakeLists.txt
--- trunk/KDE/kdeplasma-addons/applets/CMakeLists.txt #1055231:1055232
@@ -55,13 +55,13 @@
endif(PHONON_FOUND)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/qalculate/cmake_modules)
-find_package(Qalculate)
+macro_optional_find_package(Qalculate)
if ( QALCULATE_FOUND )
add_subdirectory(qalculate)
endif( QALCULATE_FOUND )
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/kdeobservatory/cmake/modules)
-find_package(Qwt)
+macro_optional_find_package(Qwt)
if ( Qwt5-Qt4_FOUND )
add_subdirectory(kdeobservatory)
endif( Qwt5-Qt4_FOUND )
More information about the Kde-buildsystem
mailing list