Commit b31e3f23 authored by Kevin Funk's avatar Kevin Funk

CMake: Use some more find_package(... CONFIG)

parent a6aea956
...@@ -20,7 +20,7 @@ set_package_properties(LibSpectre PROPERTIES ...@@ -20,7 +20,7 @@ set_package_properties(LibSpectre PROPERTIES
TYPE RECOMMENDED TYPE RECOMMENDED
PURPOSE "Support for PS files in okular.") PURPOSE "Support for PS files in okular.")
find_package(KF5KExiv2) find_package(KF5KExiv2 CONFIG)
set_package_properties("LibKExiv2" PROPERTIES set_package_properties("LibKExiv2" PROPERTIES
DESCRIPTION "Wrapper around Exiv2 library" DESCRIPTION "Wrapper around Exiv2 library"
URL "http://www.digikam.org/sharedlibs" URL "http://www.digikam.org/sharedlibs"
...@@ -34,7 +34,7 @@ set_package_properties("CHM" PROPERTIES ...@@ -34,7 +34,7 @@ set_package_properties("CHM" PROPERTIES
TYPE RECOMMENDED TYPE RECOMMENDED
PURPOSE "Support CHM files in okular.") PURPOSE "Support CHM files in okular.")
find_package(KF5KHtml) find_package(KF5KHtml CONFIG)
set_package_properties("KF5KHtml" PROPERTIES set_package_properties("KF5KHtml" PROPERTIES
DESCRIPTION "HTML rendering library" DESCRIPTION "HTML rendering library"
TYPE RECOMMENDED TYPE RECOMMENDED
...@@ -82,7 +82,7 @@ set_package_properties("libepub" PROPERTIES ...@@ -82,7 +82,7 @@ set_package_properties("libepub" PROPERTIES
TYPE RECOMMENDED TYPE RECOMMENDED
PURPOSE "Support for EPub documents in Okular.") PURPOSE "Support for EPub documents in Okular.")
find_package(QMobipocket "2") find_package(QMobipocket "2" CONFIG)
set_package_properties("libqmobipocket" PROPERTIES set_package_properties("libqmobipocket" PROPERTIES
DESCRIPTION "A library for reading Mobipocket documents" DESCRIPTION "A library for reading Mobipocket documents"
URL "https://commits.kde.org/kdegraphics-mobipocket" URL "https://commits.kde.org/kdegraphics-mobipocket"
......
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