summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@gmail.com>2020-07-29 15:33:00 (GMT)
committerCristian Adam <cristian.adam@gmail.com>2020-07-29 15:57:50 (GMT)
commit7051250a6c040a8705b57168a71dfb14b4055b13 (patch)
treeba7948e85278120ae0c575340fdba850145f579d /Source/cmLocalGenerator.cxx
parent7b4ffd4d25712484ff815e446db366124f6edf66 (diff)
downloadCMake-7051250a6c040a8705b57168a71dfb14b4055b13.zip
CMake-7051250a6c040a8705b57168a71dfb14b4055b13.tar.gz
CMake-7051250a6c040a8705b57168a71dfb14b4055b13.tar.bz2
Unity Builds: Do not set SKIP_AUTOGEN to source files
Fixes: #21028
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 3b3f110..e26dc94 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -2848,7 +2848,6 @@ inline void RegisterUnitySources(cmGeneratorTarget* target, cmSourceFile* sf,
{
target->AddSourceFileToUnityBatch(sf->ResolveFullPath());
sf->SetProperty("UNITY_SOURCE_FILE", filename.c_str());
- sf->SetProperty("SKIP_AUTOGEN", "ON");
}
inline void IncludeFileInUnitySources(cmGeneratedFileStream& unity_file,