summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-09-11 21:17:49 +0200
committerMontel Laurent <[email protected]>2017-09-11 21:17:49 +0200
commite056b4df1922e41641b18cad4b1355c71c11a315 (patch)
tree490e09cbf036d4b0233e0bcc17c6ae162ac4df98
parent96ce581c8b25c05da7b851a51a58724f8e55811a (diff)
prison is in kf5 from long time
-rw-r--r--CMakeLists.txt7
-rw-r--r--kaddressbookgrantlee/src/CMakeLists.txt4
2 files changed, 2 insertions, 9 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index dd70e6f..c0a0169 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -56,12 +56,7 @@ find_package(KF5PimCommonAkonadi ${PIMCOMMON_LIB_VERSION} CONFIG REQUIRED)
find_package(Grantlee5 "5.1" CONFIG REQUIRED)
-find_package(KF5Prison ${KF5_VERSION})
-set_package_properties(Prison PROPERTIES
- DESCRIPTION "Prison"
- URL "http://projects.kde.org/prison"
- TYPE OPTIONAL
- PURPOSE "Needed to show mobile barcodes of your contacts")
+find_package(KF5Prison ${KF5_VERSION} CONFIG REQUIRED)
if(BUILD_TESTING)
find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED Test)
diff --git a/kaddressbookgrantlee/src/CMakeLists.txt b/kaddressbookgrantlee/src/CMakeLists.txt
index f56353c..c04ca09 100644
--- a/kaddressbookgrantlee/src/CMakeLists.txt
+++ b/kaddressbookgrantlee/src/CMakeLists.txt
@@ -1,8 +1,6 @@
add_definitions(-DTRANSLATION_DOMAIN=\"libkaddressbookgrantlee\")
-if(KF5Prison_FOUND)
- add_definitions(-DHAVE_PRISON)
-endif()
+add_definitions(-DHAVE_PRISON)
set(kaddressbook_grantlee_LIB_SRCS
widget/grantleecontactviewer.cpp