diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2019-02-01 15:40:25 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2019-02-01 16:02:53 (GMT) |
commit | 6d407ae439f1db086dd7a3675c8efce93a19fed3 (patch) | |
tree | 64ad3eaae4121fdba981a1f37931fa261b1c5966 /Source/cmNinjaTargetGenerator.cxx | |
parent | 2ddf3f4467bdd600027dd3532515d05d44996871 (diff) | |
download | CMake-6d407ae439f1db086dd7a3675c8efce93a19fed3.zip CMake-6d407ae439f1db086dd7a3675c8efce93a19fed3.tar.gz CMake-6d407ae439f1db086dd7a3675c8efce93a19fed3.tar.bz2 |
Use cmSourceFile::GetIsGenerated
Diffstat (limited to 'Source/cmNinjaTargetGenerator.cxx')
-rw-r--r-- | Source/cmNinjaTargetGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmNinjaTargetGenerator.cxx b/Source/cmNinjaTargetGenerator.cxx index c29c657..5d76dc2 100644 --- a/Source/cmNinjaTargetGenerator.cxx +++ b/Source/cmNinjaTargetGenerator.cxx @@ -1000,7 +1000,7 @@ void cmNinjaTargetGenerator::WriteObjectBuildStatement( // (either attached to this source file or another one), assume that one of // the target dependencies, OBJECT_DEPENDS or header file custom commands // will rebuild the file. - if (source->GetPropertyAsBool("GENERATED") && + if (source->GetIsGenerated() && !source->GetPropertyAsBool("__CMAKE_GENERATED_BY_CMAKE") && !source->GetCustomCommand() && !this->GetGlobalGenerator()->HasCustomCommandOutput(sourceFileName)) { |