[education/rkward/kf5] rkward/rbackend: Next attempt at fixing Mac build.

Thomas Friedrichsmeier null at kde.org
Wed Apr 10 16:12:08 BST 2024


Git commit 405546fcfa4dc498c6a458bc5162ddd80b369917 by Thomas Friedrichsmeier.
Committed on 07/04/2024 at 13:42.
Pushed by tfry into branch 'kf5'.

Next attempt at fixing Mac build.

M  +2    -2    rkward/rbackend/CMakeLists.txt

https://invent.kde.org/education/rkward/-/commit/405546fcfa4dc498c6a458bc5162ddd80b369917

diff --git a/rkward/rbackend/CMakeLists.txt b/rkward/rbackend/CMakeLists.txt
index 0b4f50f41..057adb793 100644
--- a/rkward/rbackend/CMakeLists.txt
+++ b/rkward/rbackend/CMakeLists.txt
@@ -62,8 +62,8 @@ ENDIF(WIN32)
 IF(APPLE)
     TARGET_LINK_LIBRARIES(rkward.rbackend "-framework CoreFoundation")
     ADD_CUSTOM_COMMAND(TARGET rkward.rbackend POST_BUILD
-    COMMAND codesign -d --force --options runtime --verbose=4 -s - --entitlements "${CMAKE_CURRENT_SOURCE_DIR}/rkward.rbackend.entitlements" ${CMAKE_CURRENT_BINARY_DIR}/rkward.rbackend
-    WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+    COMMAND codesign -d --force --options runtime --verbose=4 -s - --entitlements "${CMAKE_CURRENT_SOURCE_DIR}/rkward.rbackend.entitlements" ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/rkward.rbackend
+    WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}
     COMMENT "Adding entitlment for rkward.rbackend to link to external R lib...")
 ENDIF()
 IF(MSVC)



More information about the rkward-tracker mailing list