mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Projucer: Fix generating JUCE example PIPs with useLocalCopy = 0
This commit is contained in:
parent
adf74a8451
commit
479371eb8d
1 changed files with 2 additions and 2 deletions
|
|
@ -120,7 +120,7 @@ PIPGenerator::PIPGenerator (const File& pip, const File& output, const File& juc
|
|||
&& pip.getParentDirectory().getParentDirectory().getFileName() == "PIPs");
|
||||
|
||||
outputDirectory = outputDirectory.getChildFile (metadata[Ids::name].toString());
|
||||
useLocalCopy = metadata[Ids::useLocalCopy].toString().isNotEmpty() || isClipboard;
|
||||
useLocalCopy = metadata[Ids::useLocalCopy].toString().trim().getIntValue() == 1 || isClipboard;
|
||||
|
||||
if (userModulesPath != File())
|
||||
{
|
||||
|
|
@ -355,7 +355,7 @@ Result PIPGenerator::setProjectSettings (ValueTree& jucerTree)
|
|||
|
||||
auto defines = metadata[Ids::defines].toString();
|
||||
|
||||
if (useLocalCopy && isJUCEExample (pipFile))
|
||||
if (isJUCEExample (pipFile))
|
||||
{
|
||||
auto examplesDir = getExamplesDirectory();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue