Browse Source

Projucer: Leave absolute paths alone when adding project items to Xcode project

v6.1.6
ed 4 years ago
parent
commit
618e74fc6a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_Xcode.h

+ 1
- 1
extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_Xcode.h View File

@@ -3129,7 +3129,7 @@ private:
auto itemPath = projectItem.getFilePath();
build_tools::RelativePath path;
if (itemPath.startsWith ("${"))
if (itemPath.startsWith ("${") || build_tools::isAbsolutePath (itemPath))
path = build_tools::RelativePath (itemPath, build_tools::RelativePath::unknown);
else
path = build_tools::RelativePath (projectItem.getFile(), getTargetFolder(), build_tools::RelativePath::buildTargetFolder);


Loading…
Cancel
Save