1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Xcode: Add codesign timestamp argument by default on all macOS builds

This commit is contained in:
Anthony Nicholls 2024-02-29 12:18:14 +00:00
parent 89330431c4
commit ff62191e14
2 changed files with 6 additions and 0 deletions

View file

@ -714,6 +714,11 @@ function(_juce_configure_bundle source_target dest_target)
endif()
endif()
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
set_target_properties(${dest_target} PROPERTIES
XCODE_ATTRIBUTE_OTHER_CODE_SIGN_FLAGS "--timestamp")
endif()
set_target_properties(${dest_target} PROPERTIES
XCODE_ATTRIBUTE_ENABLE_HARDENED_RUNTIME
"$<TARGET_PROPERTY:${source_target},JUCE_HARDENED_RUNTIME_ENABLED>"