Changeset View
Changeset View
Standalone View
Standalone View
shell/CMakeLists.txt
Show All 27 Lines | |||||
28 | add_executable(okular ${okular_SRCS}) | 28 | add_executable(okular ${okular_SRCS}) | ||
29 | 29 | | |||
30 | target_link_libraries(okular KF5::Parts KF5::WindowSystem) | 30 | target_link_libraries(okular KF5::Parts KF5::WindowSystem) | ||
31 | 31 | | |||
32 | if(NOT WIN32) | 32 | if(NOT WIN32) | ||
33 | target_link_libraries(okular KF5::Activities) | 33 | target_link_libraries(okular KF5::Activities) | ||
34 | endif() | 34 | endif() | ||
35 | 35 | | |||
36 | # Info.plist for the Mac OS bundle | ||||
37 | if (APPLE) | ||||
38 | set_target_properties(okular PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/MacOSXBundleInfo.plist.in) | ||||
39 | set_target_properties(okular PROPERTIES MACOSX_BUNDLE_SHORT_VERSION_STRING "${PROJECT_VERSION}") | ||||
40 | set_target_properties(okular PROPERTIES MACOSX_BUNDLE_BUNDLE_VERSION "${PROJECT_VERSION}") | ||||
41 | set_target_properties(okular PROPERTIES MACOSX_BUNDLE_COPYRIGHT "2002-2018 The Okular Authors") | ||||
42 | endif (APPLE) | ||||
43 | | ||||
36 | install(TARGETS okular ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) | 44 | install(TARGETS okular ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) | ||
37 | 45 | | |||
38 | 46 | | |||
39 | # okular shell data files | 47 | # okular shell data files | ||
40 | 48 | | |||
41 | install( PROGRAMS org.kde.okular.desktop DESTINATION ${KDE_INSTALL_APPDIR} ) | 49 | install( PROGRAMS org.kde.okular.desktop DESTINATION ${KDE_INSTALL_APPDIR} ) | ||
42 | install( FILES shell.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/okular ) | 50 | install( FILES shell.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/okular ) | ||
43 | install( FILES org.kde.okular.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR} ) | 51 | install( FILES org.kde.okular.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR} ) |