2006-03-26 12:19:40 +00:00
|
|
|
|
2007-01-04 00:20:50 +00:00
|
|
|
include_directories(
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/..
|
2014-10-27 21:35:06 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/../
|
2007-01-04 00:20:50 +00:00
|
|
|
)
|
|
|
|
|
2014-08-06 20:51:03 +00:00
|
|
|
set_package_properties("KActivities" PROPERTIES
|
|
|
|
DESCRIPTION "Activities interface library"
|
|
|
|
URL "https://projects.kde.org/projects/kde/kdelibs/kactivities"
|
|
|
|
TYPE RECOMMENDED
|
|
|
|
PURPOSE "Required for Activities integration.")
|
2012-10-04 18:17:13 +00:00
|
|
|
|
2007-01-05 19:17:00 +00:00
|
|
|
# okular
|
2006-03-26 12:19:40 +00:00
|
|
|
|
2007-01-05 19:17:00 +00:00
|
|
|
set(okular_SRCS
|
|
|
|
main.cpp
|
2014-08-08 20:35:53 +00:00
|
|
|
okular_main.cpp
|
2007-01-05 19:17:00 +00:00
|
|
|
shell.cpp
|
2009-10-08 23:48:04 +00:00
|
|
|
shellutils.cpp
|
2007-01-05 19:17:00 +00:00
|
|
|
)
|
2006-03-26 12:19:40 +00:00
|
|
|
|
2015-03-17 07:52:39 +00:00
|
|
|
file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/../ui/data/icons/*-apps-okular.png")
|
2015-03-01 09:57:10 +00:00
|
|
|
ecm_add_app_icon(okular_SRCS ICONS ${ICONS_SRCS})
|
2006-03-26 12:19:40 +00:00
|
|
|
|
2014-10-07 11:15:02 +00:00
|
|
|
add_executable(okular ${okular_SRCS})
|
2006-03-26 12:19:40 +00:00
|
|
|
|
2016-05-30 22:13:36 +00:00
|
|
|
target_link_libraries(okular KF5::Parts KF5::WindowSystem KF5::Activities)
|
2014-08-09 17:45:50 +00:00
|
|
|
|
2015-03-04 06:52:20 +00:00
|
|
|
install(TARGETS okular ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
|
2006-03-26 12:19:40 +00:00
|
|
|
|
2007-01-05 19:17:00 +00:00
|
|
|
|
|
|
|
# okular shell data files
|
2006-03-26 12:19:40 +00:00
|
|
|
|
2015-03-04 06:52:20 +00:00
|
|
|
install( PROGRAMS org.kde.okular.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
|
|
|
|
install( FILES shell.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/okular )
|
2016-11-04 13:56:55 +00:00
|
|
|
install( FILES org.kde.okular.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
|