mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-24 18:35:37 +00:00
look for KF5 versions of libkscreen and kactivities
This commit is contained in:
parent
0c7a45c7a5
commit
b32306463c
|
@ -16,7 +16,7 @@ include(ECMSetupVersion)
|
|||
include(ECMOptionalAddSubdirectory)
|
||||
|
||||
find_package(Qt5 CONFIG REQUIRED COMPONENTS Core DBus Test Widgets PrintSupport Svg)
|
||||
find_package(KF5 REQUIRED
|
||||
find_package(KF5 REQUIRED COMPONENTS
|
||||
Activities
|
||||
Archive
|
||||
Bookmarks
|
||||
|
@ -43,7 +43,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake/modules)
|
|||
# TYPE RECOMMENDED
|
||||
# PURPOSE "Required to build Okular.")
|
||||
|
||||
find_package(LibKScreen "1.0.2")
|
||||
find_package(KF5Screen)
|
||||
set_package_properties("LibKScreen" PROPERTIES
|
||||
DESCRIPTION "KDE screen management library"
|
||||
URL "https://projects.kde.org/projects/kdereview/libkscreen"
|
||||
|
|
|
@ -4,7 +4,7 @@ include_directories(
|
|||
)
|
||||
|
||||
# checking whether we should enable activities support
|
||||
find_package(KActivities "6.1.0")
|
||||
find_package(KF5Activities)
|
||||
set_package_properties("KActivities" PROPERTIES
|
||||
DESCRIPTION "Activities interface library"
|
||||
URL "https://projects.kde.org/projects/kde/kdelibs/kactivities"
|
||||
|
@ -38,4 +38,3 @@ install(TARGETS okular ${INSTALL_TARGETS_DEFAULT_ARGS})
|
|||
|
||||
install( PROGRAMS okular.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
|
||||
install( FILES shell.rc DESTINATION ${DATA_INSTALL_DIR}/okular )
|
||||
|
||||
|
|
Loading…
Reference in a new issue