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

Added JUCE_CUSTOM_VST3_SDK flag to juce_audio_processors

This commit is contained in:
ed 2019-08-16 11:44:30 +01:00
parent cf93f79cc8
commit 6610a1959f
3 changed files with 16 additions and 2 deletions

View file

@ -466,8 +466,11 @@ private:
{
paths.addIfNotAlreadyThere (module->getFolder().getParentDirectory().getFullPathName());
if (module->getID() == "juce_audio_processors" && (project.isAudioPluginProject() || isVSTHost))
if (module->getID() == "juce_audio_processors" && ((project.isAudioPluginProject() || isVSTHost)
&& ! project.isConfigFlagEnabled ("JUCE_CUSTOM_VST3_SDK")))
{
paths.addIfNotAlreadyThere (module->getFolder().getChildFile ("format_types").getChildFile ("VST3_SDK").getFullPathName());
}
}
return convertSearchPathsToAbsolute (paths);