mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
CMake: Allow users to query which plugin targets were created
This commit is contained in:
parent
eae9a10944
commit
c9872ce3a6
1 changed files with 6 additions and 0 deletions
|
|
@ -1437,8 +1437,14 @@ function(_juce_configure_plugin_targets target)
|
|||
if(kind IN_LIST enabled_formats)
|
||||
_juce_link_plugin_wrapper(${target} ${kind})
|
||||
endif()
|
||||
|
||||
if(TARGET ${target}_${kind})
|
||||
list(APPEND active_plugin_targets ${target}_${kind})
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
set_target_properties(${target} PROPERTIES JUCE_ACTIVE_PLUGIN_TARGETS "${active_plugin_targets}")
|
||||
|
||||
if(TARGET ${target}_Standalone)
|
||||
_juce_configure_app_bundle(${target} ${target}_Standalone)
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue