summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2016-04-20 07:19:24 +0200
committerMontel Laurent <[email protected]>2016-04-20 07:19:24 +0200
commit1c654e71135fdc03ebdb344e1b4b945f17fe7c72 (patch)
treeea33ee94acc512a5762db71994e50849edd8a8e4
parente4c277cc72975e5d49c928568b2fba51a270beb4 (diff)
Move in own directory
-rw-r--r--CMakeLists.txt4
-rw-r--r--kaddressbook/CMakeLists.txt6
2 files changed, 3 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 05e91d2..7397acc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -205,10 +205,6 @@ set_package_properties(Xsltproc PROPERTIES DESCRIPTION "XSLT processor from libx
find_package(KF5AkonadiSearch "5.2.40" CONFIG REQUIRED)
set_package_properties(KF5AkonadiSearch PROPERTIES DESCRIPTION "The Akonadi Search libraries" URL "http://www.kde.org" TYPE REQUIRED PURPOSE "Provides search capabilities in KMail and Akonadi")
-set(Prison_MIN_VERSION "1.2.1")
-find_package(KF5Prison ${Prison_MIN_VERSION} CONFIG)
-set_package_properties(Prison PROPERTIES DESCRIPTION "The Prison library" URL "http://projects.kde.org/prison" TYPE OPTIONAL PURPOSE "Needed to show mobile barcodes of your contacts")
-
if( KF5GAPI_FOUND )
add_definitions( -DKDEPIM_STORAGESERVICE_GDRIVE )
endif()
diff --git a/kaddressbook/CMakeLists.txt b/kaddressbook/CMakeLists.txt
index 4f9dbb0..3989889 100644
--- a/kaddressbook/CMakeLists.txt
+++ b/kaddressbook/CMakeLists.txt
@@ -72,9 +72,6 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${kaddressbook_SOURCE_DIR})
find_package(KF5AkonadiSearch "5.2.40" CONFIG REQUIRED)
set_package_properties(KF5AkonadiSearch PROPERTIES DESCRIPTION "The Akonadi Search libraries" URL "http://www.kde.org" TYPE REQUIRED PURPOSE "Provides search capabilities in KMail and Akonadi")
- set(Prison_MIN_VERSION "1.2.1")
- find_package(KF5Prison ${Prison_MIN_VERSION} CONFIG)
- set_package_properties(Prison PROPERTIES DESCRIPTION "The Prison library" URL "http://projects.kde.org/prison" TYPE OPTIONAL PURPOSE "Needed to show mobile barcodes of your contacts")
find_package(Boost 1.34.0)
set_package_properties(Boost PROPERTIES DESCRIPTION "Boost C++ Libraries" URL "http://www.boost.org" TYPE REQUIRED PURPOSE "Boost is required for building most KDEPIM applications")
@@ -82,6 +79,9 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${kaddressbook_SOURCE_DIR})
include_directories(${kaddressbook_SOURCE_DIR} ${kaddressbook_BINARY_DIR})
endif()
+set(Prison_MIN_VERSION "1.2.1")
+find_package(KF5Prison ${Prison_MIN_VERSION} CONFIG)
+set_package_properties(Prison PROPERTIES DESCRIPTION "The Prison library" URL "http://projects.kde.org/prison" TYPE OPTIONAL PURPOSE "Needed to show mobile barcodes of your contacts")
add_definitions(-DTRANSLATION_DOMAIN=\"kaddressbook\")
add_definitions( -DQT_NO_CAST_FROM_ASCII )