mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-24 01:54:22 +00:00
Projucer: Only add the juce_audio_plugin_client module path to XCode's header search paths if it is included in the project
This commit is contained in:
parent
543711d92f
commit
3d04a23c0f
1 changed files with 7 additions and 4 deletions
|
|
@ -1253,10 +1253,13 @@ public:
|
|||
paths.addArray (config.getHeaderSearchPaths());
|
||||
paths.addArray (getTargetExtraHeaderSearchPaths());
|
||||
|
||||
// Always needed to compile .r files
|
||||
paths.add (owner.getModuleFolderRelativeToProject ("juce_audio_plugin_client")
|
||||
.rebased (owner.projectFolder, owner.getTargetFolder(), RelativePath::buildTargetFolder)
|
||||
.toUnixStyle());
|
||||
if (owner.project.getModules().isModuleEnabled ("juce_audio_plugin_client"))
|
||||
{
|
||||
// Needed to compile .r files
|
||||
paths.add (owner.getModuleFolderRelativeToProject ("juce_audio_plugin_client")
|
||||
.rebased (owner.projectFolder, owner.getTargetFolder(), RelativePath::buildTargetFolder)
|
||||
.toUnixStyle());
|
||||
}
|
||||
|
||||
paths.add ("$(inherited)");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue