Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2020-01-07 16:34:48 +0300
committerHannah von Reth <vonreth@kde.org>2020-01-09 17:39:32 +0300
commit6725cd5826f13dde8996f638a0d28ebb5aaa3531 (patch)
tree1317527dcee1d149051503fdb1e11df1d04c0a31 /shell_integration
parentf17b30515167d3e679f30118e52c41385787faba (diff)
[CMAKE] Resolve some issues discovered during review
Diffstat (limited to 'shell_integration')
-rw-r--r--shell_integration/CMakeLists.txt2
-rw-r--r--shell_integration/MacOSX/CMakeLists.txt7
2 files changed, 3 insertions, 6 deletions
diff --git a/shell_integration/CMakeLists.txt b/shell_integration/CMakeLists.txt
index 959d94b7e..2ad9e86ab 100644
--- a/shell_integration/CMakeLists.txt
+++ b/shell_integration/CMakeLists.txt
@@ -11,8 +11,6 @@ if( UNIX AND NOT APPLE )
endif()
if(BUILD_SHELL_INTEGRATION_DOLPHIN)
- find_package(ECM 1.2.0 NO_MODULE QUIET)
- set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
find_package(KF5 "5.16" COMPONENTS KIO)
if(KF5_FOUND)
add_subdirectory(dolphin)
diff --git a/shell_integration/MacOSX/CMakeLists.txt b/shell_integration/MacOSX/CMakeLists.txt
index 99216ef94..6b616a8df 100644
--- a/shell_integration/MacOSX/CMakeLists.txt
+++ b/shell_integration/MacOSX/CMakeLists.txt
@@ -15,9 +15,8 @@ add_custom_target( mac_overlayplugin ALL
COMMENT building Mac Overlay icons
VERBATIM)
add_dependencies(mac_overlayplugin ${APPLICATION_EXECUTABLE}) # for the ownCloud.icns to be generated
+add_custom_command(TARGET mac_overlayplugin POST_BUILD COMMAND ${CMAKE_COMMAND}
+ ARGS -E copy_directory "${CMAKE_CURRENT_BINARY_DIR}/Release/FinderSyncExt.appex" "$<TARGET_FILE_DIR:${APPLICATION_EXECUTABLE}>/PlugIns/FinderSyncExt.appex" MAIN_DEPENDENCY "${mac_overlayplugin}")
-INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/Release/FinderSyncExt.appex
- DESTINATION ${PLUGIN_INSTALL_DIR}
- USE_SOURCE_PERMISSIONS)
-endif(APPLE)
+endif()