Merge topic 'dev/fix-cmake-rule-property'
4b139169
cmMakefile: fix __CMAKE_RULE property setting
This commit is contained in:
commit
29abb3dedb
|
@ -1042,8 +1042,8 @@ cmMakefile::AddCustomCommandToOutput(const std::vector<std::string>& outputs,
|
||||||
if (!file)
|
if (!file)
|
||||||
{
|
{
|
||||||
file = this->CreateSource(outName, true);
|
file = this->CreateSource(outName, true);
|
||||||
file->SetProperty("__CMAKE_RULE", "1");
|
|
||||||
}
|
}
|
||||||
|
file->SetProperty("__CMAKE_RULE", "1");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Always create the output sources and mark them generated.
|
// Always create the output sources and mark them generated.
|
||||||
|
|
Loading…
Reference in New Issue