Make plasma compiled even without gpgme

This commit is contained in:
David Faure 2012-04-28 21:43:25 +02:00
parent a69cb53cc5
commit 0ee8271d83
2 changed files with 7 additions and 2 deletions

View File

@ -21,6 +21,11 @@ if(NOT Q_WS_X11)
set(PLASMA_NO_PACKAGEKIT TRUE)
endif(NOT Q_WS_X11)
#find_package(KdepimLibs 4.5.60)
#find_package(Gpgme)
#macro_log_feature(KDEPIMLIBS_FOUND "kdepimlibs" "KDE PIM libraries" "http://www.kde.org" FALSE "" "Needed for building several Plasma DataEngines")
include_directories(${CMAKE_CURRENT_SOURCE_DIR}
${KDE4_KDECORE_INCLUDES}
${KDE4_KDEUI_INCLUDES}
@ -144,7 +149,7 @@ set(plasma_LIB_SRCS
remote/pinpairingauthorization.cpp
remote/pinpairingdialog.cpp
remote/serviceaccessjob.cpp
remote/signing.cpp
#remote/signing.cpp TODO: re-enable, needs gpgmepp though
remote/trustedonlyauthorization.cpp
runnercontext.cpp
runnermanager.cpp

View File

@ -20,7 +20,7 @@ PLASMA_UNIT_TESTS(
packagestructuretest
plasmoidpackagetest
runnercontexttest
signingtest
#signingtest TODO re-enable
)
kde4_add_unit_test(storagetest TESTNAME plasma-storage storagetest.cpp ../private/storage.cpp ../private/storagethread.cpp)