Browse Source

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

tags/2021-05-28
reuk 4 years ago
parent
commit
c3b53425ad
No known key found for this signature in database GPG Key ID: 9ADCD339CFC98A11
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      extras/Build/CMake/JUCEUtils.cmake

+ 4
- 1
extras/Build/CMake/JUCEUtils.cmake 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()

# ==================================================================================================


Loading…
Cancel
Save