summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukáš Tinkl <lukas@kde.org>2015-01-30 14:06:25 (GMT)
committerLukáš Tinkl <lukas@kde.org>2015-01-30 14:06:25 (GMT)
commite176acdc4013ee0d4b44c2d58404a7aebf073160 (patch)
treea1fcfcac882b2a47c6221d2e1ac3cbb3a24d5ffe
parentdc06e7265721b1ca6f91be4ee42ce17b74ec8da3 (diff)
Use co-installable qca-qt5 version
REVIEW: 122155
-rw-r--r--generators/ooo/CMakeLists.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/generators/ooo/CMakeLists.txt b/generators/ooo/CMakeLists.txt
index 61054bd..a1eb1bc 100644
--- a/generators/ooo/CMakeLists.txt
+++ b/generators/ooo/CMakeLists.txt
@@ -3,12 +3,12 @@ include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/../..
)
-find_package(Qca 2.1.0)
-set_package_properties(Qca PROPERTIES DESCRIPTION "Support for encryption"
- URL "http://delta.affinix.com/qca"
+find_package(Qca-qt5 2.1.0)
+set_package_properties(Qca-qt5 PROPERTIES DESCRIPTION "Support for encryption"
+ URL "http://download.kde.org/stable/qca-qt5/"
TYPE RECOMMENDED)
-if ( Qca_FOUND )
+if ( Qca-qt5_FOUND )
add_definitions( -DQCA2 )
endif()
@@ -28,8 +28,8 @@ set(okularGenerator_ooo_PART_SRCS
add_library(okularGenerator_ooo MODULE ${okularGenerator_ooo_PART_SRCS})
target_link_libraries(okularGenerator_ooo okularcore KF5::KIOCore ${MATH_LIB} Qt5::Xml)
-if (Qca_FOUND)
- target_link_libraries(okularGenerator_ooo okularcore qca)
+if (Qca-qt5_FOUND)
+ target_link_libraries(okularGenerator_ooo okularcore qca-qt5)
endif ()
install(TARGETS okularGenerator_ooo DESTINATION ${PLUGIN_INSTALL_DIR})