Only build plasma if kdepimlibs is found.

Plasma uses gpgme++ from there, which will be split out eventually.
This commit is contained in:
Stephen Kelly 2011-09-15 17:16:43 +02:00
parent 13c87efb26
commit 94e661c307

View File

@ -67,8 +67,6 @@ endif(QCA2_FOUND)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config-plasma.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-plasma.h)
#FIXME: gpgme++ is in kdepimlibs, must move somewhere else!
find_package(KdepimLibs 4.5.60)
macro_log_feature(KDEPIMLIBS_FOUND "kdepimlibs" "KDE PIM libraries" "http://www.kde.org" FALSE "" "Needed for building several Plasma DataEngines")
include_directories(${KDEPIMLIBS_INCLUDE_DIRS})
add_subdirectory(tests)