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

Projucer: Updated some code that was using an incorrect method to get module config flags

This commit is contained in:
ed 2020-02-26 16:22:42 +00:00
parent 2269cf8168
commit 11b184e43f
4 changed files with 16 additions and 10 deletions

View file

@ -375,7 +375,7 @@ private:
{
auto isVSTHost = project.getEnabledModules().isModuleEnabled ("juce_audio_processors")
&& (project.isConfigFlagEnabled ("JUCE_PLUGINHOST_VST3") || project.isConfigFlagEnabled ("JUCE_PLUGINHOST_VST"));
&& (project.isConfigFlagEnabled ("JUCE_PLUGINHOST_VST3", false) || project.isConfigFlagEnabled ("JUCE_PLUGINHOST_VST", false));
auto isPluginProject = proj.isAudioPluginProject();
@ -463,8 +463,8 @@ private:
paths.addArray (getSearchPathsFromString (project.getCompileEngineSettings().getSystemHeaderPathString()));
auto isVSTHost = project.getEnabledModules().isModuleEnabled ("juce_audio_processors")
&& (project.isConfigFlagEnabled ("JUCE_PLUGINHOST_VST3")
|| project.isConfigFlagEnabled ("JUCE_PLUGINHOST_VST"));
&& (project.isConfigFlagEnabled ("JUCE_PLUGINHOST_VST3", false)
|| project.isConfigFlagEnabled ("JUCE_PLUGINHOST_VST", false));
auto customVst3Path = getAppSettings().getStoredPath (Ids::vst3Path, TargetOS::getThisOS()).get().toString();