diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2018-01-17 13:49:30 -0500 |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2018-01-18 11:11:19 -0500 |
commit | 7c525c84166d2d45933fb9907682d4f834392520 (patch) | |
tree | f44e32da1bc15596f8798e067db6b900cce93bca /Source/cmGeneratorExpressionEvaluationFile.cxx | |
parent | af30899cb4431d6712fea5ac09215a92b3f16ccb (diff) | |
download | cmake-7c525c84166d2d45933fb9907682d4f834392520.tar.gz |
genex: generated files have known extensions
Diffstat (limited to 'Source/cmGeneratorExpressionEvaluationFile.cxx')
-rw-r--r-- | Source/cmGeneratorExpressionEvaluationFile.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmGeneratorExpressionEvaluationFile.cxx b/Source/cmGeneratorExpressionEvaluationFile.cxx index 87b6b342db..c9889699be 100644 --- a/Source/cmGeneratorExpressionEvaluationFile.cxx +++ b/Source/cmGeneratorExpressionEvaluationFile.cxx @@ -13,6 +13,7 @@ #include "cmLocalGenerator.h" #include "cmMakefile.h" #include "cmSourceFile.h" +#include "cmSourceFileLocationKind.h" #include "cmSystemTools.h" #include "cmake.h" @@ -102,7 +103,8 @@ void cmGeneratorExpressionEvaluationFile::CreateOutputFile( for (std::string const& le : enabledLanguages) { std::string name = this->OutputFileExpr->Evaluate( lg, config, false, nullptr, nullptr, nullptr, le); - cmSourceFile* sf = lg->GetMakefile()->GetOrCreateSource(name); + cmSourceFile* sf = lg->GetMakefile()->GetOrCreateSource( + name, false, cmSourceFileLocationKind::Known); sf->SetProperty("GENERATED", "1"); gg->SetFilenameTargetDepends( |