Commit d3463f19 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖
Browse files

Move find_package(Prison) to top-level CMakeLists.txt

parent 6c038c12
......@@ -45,6 +45,13 @@ find_package(KF5Mime ${KMIMELIB_VERSION} CONFIG REQUIRED)
find_package(KF5AkonadiMime ${KDEPIMLIBS_VERSION} CONFIG REQUIRED)
find_package(KF5Akonadi ${AKONADI_VERSION} CONFIG REQUIRED)
set(Prison_MIN_VERSION "1.2.2")
find_package(KF5Prison ${Prison_MIN_VERSION})
set_package_properties(Prison PROPERTIES DESCRIPTION "Prison" URL "http://projects.kde.org/prison" TYPE OPTIONAL$
if (KF5Prison_FOUND)
add_definitions(-DHAVE_PRISON)
endif()
########### Targets ###########
add_definitions(-DTRANSLATION_DOMAIN=\"akonadicontact5\")
......
set(Prison_MIN_VERSION "1.2.2")
find_package(KF5Prison ${Prison_MIN_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")
if (KF5Prison_FOUND)
add_definitions(-DHAVE_PRISON)
endif()
set( AKONADI_PHONE_DIAL_DEFAULT "UseSkype" )
set( AKONADI_SEND_SMS_DEFAULT "UseSkypeSms" )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment