Browse Source

CMake: Allow users to query which plugin targets were created

tags/2021-05-28
reuk 5 years ago
parent
commit
c9872ce3a6
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      extras/Build/CMake/JUCEUtils.cmake

+ 6
- 0
extras/Build/CMake/JUCEUtils.cmake View File

@@ -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…
Cancel
Save