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

Introjucer: Fix for some Windows paths in the JuceHeader.h file

This commit is contained in:
jules 2015-09-02 17:42:13 +01:00
parent 16cfead473
commit 3cad25f231

View file

@ -314,7 +314,11 @@ void LibraryModule::createLocalHeaderWrapper (ProjectSaver& projectSaver, const
const RelativePath fileFromHere (headerFromProject.rebased (project.getProjectFolder(),
localHeader.getParentDirectory(), RelativePath::unknown));
paths.add (fileFromHere.toUnixStyle().quoted());
if (exporter->isWindows())
paths.add (fileFromHere.toWindowsStyle().quoted());
else
paths.add (fileFromHere.toUnixStyle().quoted());
guards.add ("defined (" + exporter->getExporterIdentifierMacro() + ")");
}