summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaNormalTargetGenerator.cxx
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@gmail.com>2019-07-26 14:08:32 (GMT)
committerCristian Adam <cristian.adam@gmail.com>2019-08-29 14:44:09 (GMT)
commit7114c141e27532df709fcae1266bb4ce9b6e850c (patch)
tree0c44c45215b4b1fb58bab5c9974f2d26a9ec3f7c /Source/cmNinjaNormalTargetGenerator.cxx
parent3ec986ce8e8df269eb6b6b9f37e12b02194168fd (diff)
downloadCMake-7114c141e27532df709fcae1266bb4ce9b6e850c.zip
CMake-7114c141e27532df709fcae1266bb4ce9b6e850c.tar.gz
CMake-7114c141e27532df709fcae1266bb4ce9b6e850c.tar.bz2
Unity build: Add support for Ninja and Makefile generators
Diffstat (limited to 'Source/cmNinjaNormalTargetGenerator.cxx')
-rw-r--r--Source/cmNinjaNormalTargetGenerator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.cxx b/Source/cmNinjaNormalTargetGenerator.cxx
index 0e3aa3a..a4e1d61 100644
--- a/Source/cmNinjaNormalTargetGenerator.cxx
+++ b/Source/cmNinjaNormalTargetGenerator.cxx
@@ -60,6 +60,7 @@ cmNinjaNormalTargetGenerator::cmNinjaNormalTargetGenerator(
cm::make_unique<cmOSXBundleGenerator>(target, this->GetConfigName());
this->OSXBundleGenerator->SetMacContentFolders(&this->MacContentFolders);
+ GetLocalGenerator()->AddUnityBuild(target, this->GetConfigName());
GetLocalGenerator()->AddPchDependencies(target, this->GetConfigName());
}