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 18:05:28 +0300
committerDominik Schmidt <domme@tomahawk-player.org>2020-03-17 15:39:55 +0300
commitd4bc92856e74bbfaaac859bd1c6d3cc777208be5 (patch)
treef0b83938f7fc5d67a57af86c5910ae2d2aedf928 /src/crashreporter
parentaa2b0ec052f11ab718041fe8c02e51b21643cdcf (diff)
CMake: Do not use TARGET_FILE_DIR for installing into the main bundle.
I thought this was the path of the executable inside the bundle but in reality it's some build folder that is plain wrong to use here. If anyone has a hint how to solve this more elegantly, let me know.
Diffstat (limited to 'src/crashreporter')
-rw-r--r--src/crashreporter/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crashreporter/CMakeLists.txt b/src/crashreporter/CMakeLists.txt
index 59b83f5eb..9e1562652 100644
--- a/src/crashreporter/CMakeLists.txt
+++ b/src/crashreporter/CMakeLists.txt
@@ -51,7 +51,7 @@ if(NOT BUILD_LIBRARIES_ONLY)
)
if(APPLE)
- install(TARGETS ${CRASHREPORTER_EXECUTABLE} RUNTIME DESTINATION "$<TARGET_FILE_DIR:${APPLICATION_EXECUTABLE}>")
+ install(TARGETS ${CRASHREPORTER_EXECUTABLE} RUNTIME DESTINATION "${KDE_INSTALL_BUNDLEDIR}/${APPLICATION_EXECUTABLE}.app/Contents/MacOS/")
else()
install(TARGETS ${CRASHREPORTER_EXECUTABLE} ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
endif()