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

CMake: Ensure that AU resource forks are copied correctly when building with CMake

This commit is contained in:
reuk 2020-09-21 11:52:45 +01:00
parent 4a09440222
commit c3b53425ad
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11

View file

@ -413,9 +413,12 @@ function(_juce_add_au_resource_fork shared_code_target au_target)
-I "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AudioUnit.framework/Headers"
-isysroot "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk"
"${au_rez_sources}"
-useDF
-o "${au_rez_output}"
DEPENDS "${au_rez_input}" "${secret_au_plugindefines}"
DEPENDS "${secret_au_plugindefines}"
VERBATIM)
set(au_resource_directory "$<TARGET_BUNDLE_DIR:${au_target}>/Contents/Resources")
endfunction()
# ==================================================================================================