Changeset View
Changeset View
Standalone View
Standalone View
src/CMakeLists.txt
1 | include(ECMAddAppIcon) | 1 | include(ECMAddAppIcon) | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | configure_file(config-baloo.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-baloo.h) | 3 | configure_file(config-baloo.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-baloo.h) | ||
4 | 4 | | |||
5 | configure_file(config-kactivities.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kactivities.h) | 5 | configure_file(config-kactivities.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kactivities.h) | ||
6 | configure_file(config-kactivities-stats.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kactivities-stats.h) | ||||
6 | 7 | | |||
7 | configure_file(config-terminal.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-terminal.h) | 8 | configure_file(config-terminal.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-terminal.h) | ||
8 | 9 | | |||
9 | add_definitions( | 10 | add_definitions( | ||
10 | -DTRANSLATION_DOMAIN=\"dolphin\" | 11 | -DTRANSLATION_DOMAIN=\"dolphin\" | ||
11 | ) | 12 | ) | ||
12 | remove_definitions( | 13 | remove_definitions( | ||
13 | -DQT_NO_CAST_FROM_BYTEARRAY | 14 | -DQT_NO_CAST_FROM_BYTEARRAY | ||
▲ Show 20 Lines • Show All 270 Lines • ▼ Show 20 Line(s) | |||||
284 | 285 | | |||
285 | if (HAVE_KACTIVITIES) | 286 | if (HAVE_KACTIVITIES) | ||
286 | target_link_libraries( | 287 | target_link_libraries( | ||
287 | dolphinstatic | 288 | dolphinstatic | ||
288 | KF5::Activities | 289 | KF5::Activities | ||
289 | ) | 290 | ) | ||
290 | endif() | 291 | endif() | ||
291 | 292 | | |||
293 | if (HAVE_KACTIVITIES_STATS) | ||||
294 | target_link_libraries( | ||||
295 | dolphinstatic | ||||
296 | KF5::ActivitiesStats | ||||
297 | ) | ||||
298 | endif() | ||||
299 | | ||||
292 | set(dolphin_SRCS | 300 | set(dolphin_SRCS | ||
293 | dbusinterface.cpp | 301 | dbusinterface.cpp | ||
294 | main.cpp | 302 | main.cpp | ||
295 | ) | 303 | ) | ||
296 | 304 | | |||
297 | # Sets the icon on Windows and OSX | 305 | # Sets the icon on Windows and OSX | ||
298 | file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/icons/*system-file-manager.png") | 306 | file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/icons/*system-file-manager.png") | ||
299 | ecm_add_app_icon(dolphin_SRCS ICONS ${ICONS_SRCS}) | 307 | ecm_add_app_icon(dolphin_SRCS ICONS ${ICONS_SRCS}) | ||
▲ Show 20 Lines • Show All 118 Lines • Show Last 20 Lines |