1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

CMake: Add support for AU hosting in PIPs

This commit is contained in:
reuk 2022-03-08 12:58:59 +00:00
parent 5491e7aae2
commit ee06a2364b
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11

View file

@ -1752,6 +1752,10 @@ function(juce_add_pip header)
NEEDS_STORE_KIT TRUE)
endif()
if("JUCE_PLUGINHOST_AU=1" IN_LIST pip_moduleflags)
list(APPEND extra_target_args PLUGINHOST_AU TRUE)
endif()
if(pip_kind STREQUAL "AudioProcessor")
set(source_main "${JUCE_CMAKE_UTILS_DIR}/PIPAudioProcessor.cpp.in")