okular/shell/CMakeLists.txt

37 lines
1,014 B
Text
Raw Normal View History

include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/..
${CMAKE_CURRENT_BINARY_DIR}/../
)
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.")
# okular
set(okular_SRCS
main.cpp
okular_main.cpp
shell.cpp
shellutils.cpp
)
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})
2014-10-07 11:15:02 +00:00
add_executable(okular ${okular_SRCS})
target_link_libraries(okular KF5::Parts KF5::WindowSystem KF5::Activities)
2015-03-04 06:52:20 +00:00
install(TARGETS okular ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
# okular shell data files
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 )
install( FILES org.kde.okular.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )