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:
authorDominik Schmidt <dev@dominik-schmidt.de>2020-03-14 01:16:19 +0300
committerDominik Schmidt <domme@tomahawk-player.org>2020-03-17 15:39:55 +0300
commitaa2b0ec052f11ab718041fe8c02e51b21643cdcf (patch)
tree6cb2bd9b56721420953f3c1e30338a2472e907c7 /src/crashreporter
parent0ec51746762bbbba02ed3963e0c26fccd8c5ddc5 (diff)
CMake: install cmdline client and crash reporter into main bundle on macOS
Diffstat (limited to 'src/crashreporter')
-rw-r--r--src/crashreporter/CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/crashreporter/CMakeLists.txt b/src/crashreporter/CMakeLists.txt
index 1c89ed11c..59b83f5eb 100644
--- a/src/crashreporter/CMakeLists.txt
+++ b/src/crashreporter/CMakeLists.txt
@@ -49,5 +49,10 @@ if(NOT BUILD_LIBRARIES_ONLY)
crashreporter-gui
Qt5::Core Qt5::Widgets
)
- install(TARGETS ${CRASHREPORTER_EXECUTABLE} ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
+
+ if(APPLE)
+ install(TARGETS ${CRASHREPORTER_EXECUTABLE} RUNTIME DESTINATION "$<TARGET_FILE_DIR:${APPLICATION_EXECUTABLE}>")
+ else()
+ install(TARGETS ${CRASHREPORTER_EXECUTABLE} ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
+ endif()
endif()