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:
parent
ccdc9d6779
commit
b9a0dd4b56
1 changed files with 3 additions and 2 deletions
|
|
@ -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})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue