From a567b5406938586e3790558464b87186c4bfbf2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20O=2E=20Cordero=20P=C3=A9rez?= Date: Sun, 15 Sep 2024 02:38:04 -0400 Subject: [PATCH] Enable Hardened Runtime for macOS build to allow for app notarization --- src/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index eee0de2e..d38971d8 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -412,6 +412,9 @@ if (WIN32 OR UNIX) # AND NOT ANDROID) endif() set(deploy_tool_options_arg "") +if(APPLE) + set(deploy_tool_options_arg --hardened-runtime) +endif() qt_generate_deploy_qml_app_script( TARGET ${PROJECT_NAME} OUTPUT_SCRIPT deploy_script