1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-09 23:34:20 +00:00

CMake: Fix juce_vst3_helper target check

This commit is contained in:
reuk 2025-08-07 20:47:00 +01:00
parent ccdc9d6779
commit b9a0dd4b56
No known key found for this signature in database

View file

@ -1030,7 +1030,9 @@ endfunction()
# ==================================================================================================
function(_juce_add_vst3_manifest_helper_target shared_code_target)
if(TARGET juce_vst3_helper
set(vst3_helper_target ${shared_code_target}_vst3_helper)
if(TARGET ${vst3_helper_target}
OR (CMAKE_SYSTEM_NAME STREQUAL "iOS")
OR (CMAKE_SYSTEM_NAME STREQUAL "Android")
OR (CMAKE_SYSTEM_NAME MATCHES ".*BSD"))
@ -1048,7 +1050,6 @@ function(_juce_add_vst3_manifest_helper_target shared_code_target)
set(source "${module_path}/juce_audio_plugin_client/VST3/juce_VST3ManifestHelper.${extension}")
set(vst3_helper_target ${shared_code_target}_vst3_helper)
add_executable(${vst3_helper_target} "${source}")
add_executable(juce::${vst3_helper_target} ALIAS ${vst3_helper_target})