From c3b53425ad5549eb8932b3dce2bf10c6a3785068 Mon Sep 17 00:00:00 2001 From: reuk Date: Mon, 21 Sep 2020 11:52:45 +0100 Subject: [PATCH] CMake: Ensure that AU resource forks are copied correctly when building with CMake --- extras/Build/CMake/JUCEUtils.cmake | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/extras/Build/CMake/JUCEUtils.cmake b/extras/Build/CMake/JUCEUtils.cmake index f3b5e6b3d1..b020ba740f 100644 --- a/extras/Build/CMake/JUCEUtils.cmake +++ b/extras/Build/CMake/JUCEUtils.cmake @@ -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 "$/Contents/Resources") endfunction() # ==================================================================================================