diff options
author | Dominik Schmidt <dev@dominik-schmidt.de> | 2020-03-14 01:16:19 +0300 |
---|---|---|
committer | Dominik Schmidt <domme@tomahawk-player.org> | 2020-03-17 15:39:55 +0300 |
commit | aa2b0ec052f11ab718041fe8c02e51b21643cdcf (patch) | |
tree | 6cb2bd9b56721420953f3c1e30338a2472e907c7 /src/crashreporter | |
parent | 0ec51746762bbbba02ed3963e0c26fccd8c5ddc5 (diff) |
CMake: install cmdline client and crash reporter into main bundle on macOS
Diffstat (limited to 'src/crashreporter')
-rw-r--r-- | src/crashreporter/CMakeLists.txt | 7 |
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() |