mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-01 03:10:06 +00:00
Xcode: Add codesign timestamp argument by default on all macOS builds
This commit is contained in:
parent
89330431c4
commit
ff62191e14
2 changed files with 6 additions and 0 deletions
|
|
@ -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>"
|
||||
|
|
|
|||
|
|
@ -2859,6 +2859,7 @@ private:
|
|||
else
|
||||
{
|
||||
s.set ("SDKROOT", "macosx" + config.getMacOSBaseSDKString());
|
||||
s.set ("OTHER_CODE_SIGN_FLAGS", "--timestamp");
|
||||
}
|
||||
|
||||
s.set ("ZERO_LINK", "NO");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue