[education/rkward] rkward: Experimental: Add entitlements for QWebEngine
Thomas Friedrichsmeier
null at kde.org
Mon Jul 1 19:08:44 BST 2024
Git commit f3bb432fb9b8d7477e8b17c90ed307471dcf6370 by Thomas Friedrichsmeier.
Committed on 01/07/2024 at 18:08.
Pushed by tfry into branch 'master'.
Experimental: Add entitlements for QWebEngine
M +4 -0 rkward/CMakeLists.txt
https://invent.kde.org/education/rkward/-/commit/f3bb432fb9b8d7477e8b17c90ed307471dcf6370
diff --git a/rkward/CMakeLists.txt b/rkward/CMakeLists.txt
index 30d35e709..2002dcdef 100644
--- a/rkward/CMakeLists.txt
+++ b/rkward/CMakeLists.txt
@@ -71,6 +71,10 @@ IF(APPLE)
${RKWARD_INFOPLIST_TEMPLATE}
${RKWARD_INFOPLIST_FILE}
@ONLY)
+ ADD_CUSTOM_COMMAND(TARGET rkward POST_BUILD
+ COMMAND codesign -d --force --options runtime --verbose=4 -s - --entitlements "${CMAKE_CURRENT_SOURCE_DIR}/qwebengine.entitlements" ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/rkward.rbackend
+ WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}
+ COMMENT "Adding entitlments required for QWebEngine")
ENDIF(APPLE)
########### install files ###############
More information about the rkward-tracker
mailing list