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

Projucer: Fix VST3 and LV2 manifest helper paths in Xcode when using relative module paths

Even without this change the helpers would build correctly, but Xcode
would be unable to open them in the GUI and present them in red letters.
This commit is contained in:
attila 2023-12-18 21:48:15 +01:00 committed by Attila Szarvas
parent 9694c1aa04
commit 03947a2646

View file

@ -2220,7 +2220,7 @@ private:
&& project.getEnabledModules().isModuleEnabled ("juce_audio_plugin_client"))
{
const auto path = rebaseFromProjectFolderToBuildTarget (getLV2HelperProgramSource());
addFile (FileOptions().withRelativePath ({ expandPath (path.toUnixStyle()), path.getRoot() })
addFile (FileOptions().withRelativePath ({ path.toUnixStyle(), path.getRoot() })
.withSkipPCHEnabled (true)
.withCompilationEnabled (true)
.withInhibitWarningsEnabled (true)
@ -2232,7 +2232,7 @@ private:
&& project.getEnabledModules().isModuleEnabled ("juce_audio_plugin_client"))
{
const auto path = rebaseFromProjectFolderToBuildTarget (getVST3HelperProgramSource());
addFile (FileOptions().withRelativePath ({ expandPath (path.toUnixStyle()), path.getRoot() })
addFile (FileOptions().withRelativePath ({ path.toUnixStyle(), path.getRoot() })
.withSkipPCHEnabled (true)
.withCompilationEnabled (true)
.withInhibitWarningsEnabled (true)