mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-23 01:44:22 +00:00
Introjucer: avoided mangling Xcode frameworks if they're specified as absolute paths.
This commit is contained in:
parent
5ffd878ebc
commit
272c38ff53
1 changed files with 9 additions and 2 deletions
|
|
@ -1010,9 +1010,16 @@ private:
|
|||
|
||||
void addFramework (const String& frameworkName) const
|
||||
{
|
||||
const String path ("System/Library/Frameworks/" + frameworkName + ".framework");
|
||||
String path (frameworkName);
|
||||
if (! File::isAbsolutePath (path))
|
||||
path = "System/Library/Frameworks/" + path;
|
||||
|
||||
if (! path.endsWithIgnoreCase (".framework"))
|
||||
path << ".framework";
|
||||
|
||||
const String fileRefID (createFileRefID (path));
|
||||
addFileReference ("${SDKROOT}/" + path);
|
||||
|
||||
addFileReference ((File::isAbsolutePath (frameworkName) ? "" : "${SDKROOT}/") + path);
|
||||
frameworkIDs.add (addBuildFile (path, fileRefID, false, false));
|
||||
frameworkFileIDs.add (fileRefID);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue