Changeset View
Changeset View
Standalone View
Standalone View
src/CMakeLists.txt
Show First 20 Lines • Show All 298 Lines • ▼ Show 20 Line(s) | |||||
299 | ) | 299 | ) | ||
300 | 300 | | |||
301 | # Sets the icon on Windows and OSX | 301 | # Sets the icon on Windows and OSX | ||
302 | file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/icons/*system-file-manager.png") | 302 | file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/icons/*system-file-manager.png") | ||
303 | ecm_add_app_icon(dolphin_SRCS ICONS ${ICONS_SRCS}) | 303 | ecm_add_app_icon(dolphin_SRCS ICONS ${ICONS_SRCS}) | ||
304 | 304 | | |||
305 | kf5_add_kdeinit_executable(dolphin ${dolphin_SRCS}) | 305 | kf5_add_kdeinit_executable(dolphin ${dolphin_SRCS}) | ||
306 | 306 | | |||
307 | if (APPLE) | ||||
308 | # own plist template | ||||
309 | set_target_properties (dolphin PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/MacOSXBundleInfo.plist.in) | ||||
310 | # the MacOSX bundle display name property (CFBundleDisplayName) is not currently supported by cmake, | ||||
311 | # so has to be set for all targets in this cmake file | ||||
312 | set(MACOSX_BUNDLE_DISPLAY_NAME Okular5) | ||||
313 | set_target_properties(dolphin PROPERTIES MACOSX_BUNDLE_GUI_IDENTIFIER "org.kde.Dolphin") | ||||
314 | set_target_properties(dolphin PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME "Dolphin5") | ||||
315 | set_target_properties(dolphin PROPERTIES MACOSX_BUNDLE_DISPLAY_NAME "Dolphin5") | ||||
316 | set_target_properties(dolphin PROPERTIES MACOSX_BUNDLE_INFO_STRING "Dolphin, KDE's file manager focusing on usability") | ||||
317 | set_target_properties(dolphin PROPERTIES MACOSX_BUNDLE_LONG_VERSION_STRING "Dolphin ${KDE_APPLICATIONS_VERSION}") | ||||
318 | set_target_properties(dolphin PROPERTIES MACOSX_BUNDLE_SHORT_VERSION_STRING "${KDE_APPLICATIONS_VERSION_MAJOR}.${KDE_APPLICATIONS_VERSION_MINOR}") | ||||
319 | set_target_properties(dolphin PROPERTIES MACOSX_BUNDLE_BUNDLE_VERSION "${KDE_APPLICATIONS_VERSION}") | ||||
320 | set_target_properties(dolphin PROPERTIES MACOSX_BUNDLE_COPYRIGHT "2002-2020 The Dolphin Authors") | ||||
321 | endif (APPLE) | ||||
322 | | ||||
307 | 323 | | |||
308 | target_link_libraries(kdeinit_dolphin PUBLIC | 324 | target_link_libraries(kdeinit_dolphin PUBLIC | ||
309 | dolphinprivate | 325 | dolphinprivate | ||
310 | PRIVATE | 326 | PRIVATE | ||
311 | dolphinstatic | 327 | dolphinstatic | ||
312 | KF5::Crash | 328 | KF5::Crash | ||
313 | ) | 329 | ) | ||
314 | 330 | | |||
▲ Show 20 Lines • Show All 107 Lines • Show Last 20 Lines |