Changeset View
Changeset View
Standalone View
Standalone View
shell/CMakeLists.txt
Show All 16 Lines | |||||
17 | 17 | | |||
18 | set(okular_SRCS | 18 | set(okular_SRCS | ||
19 | main.cpp | 19 | main.cpp | ||
20 | okular_main.cpp | 20 | okular_main.cpp | ||
21 | shell.cpp | 21 | shell.cpp | ||
22 | shellutils.cpp | 22 | shellutils.cpp | ||
23 | ) | 23 | ) | ||
24 | 24 | | |||
25 | if(APPLE) | ||||
26 | set(okular_SRCS | ||||
27 | ${okular_SRCS} | ||||
28 | macapplication.cpp) | ||||
rjvbb: You could use `list(APPEND ...)` here. | |||||
29 | endif(APPLE) | ||||
30 | | ||||
25 | file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/../ui/data/icons/*-apps-okular.png") | 31 | file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/../ui/data/icons/*-apps-okular.png") | ||
26 | ecm_add_app_icon(okular_SRCS ICONS ${ICONS_SRCS}) | 32 | ecm_add_app_icon(okular_SRCS ICONS ${ICONS_SRCS}) | ||
27 | 33 | | |||
28 | add_executable(okular ${okular_SRCS}) | 34 | add_executable(okular ${okular_SRCS}) | ||
29 | 35 | | |||
30 | target_link_libraries(okular KF5::Parts KF5::WindowSystem) | 36 | target_link_libraries(okular KF5::Parts KF5::WindowSystem) | ||
31 | 37 | | |||
32 | if(NOT WIN32) | 38 | if(NOT WIN32) | ||
Show All 11 Lines |
You could use list(APPEND ...) here.