Skip to content

Commit

Permalink
Enable Hardened Runtime for macOS build to allow for app notarization
Browse files Browse the repository at this point in the history
  • Loading branch information
Cuperino committed Sep 15, 2024
1 parent 60f6586 commit a567b54
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a567b54

Please sign in to comment.