diff options
author | Brad King <brad.king@kitware.com> | 2022-05-31 19:14:37 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-05-31 19:40:35 (GMT) |
commit | 39dba8a2449e3f866088b13faf3d6cbf60852751 (patch) | |
tree | 08939d4a398493abbaa9f4ed5191c7004aab2883 /Source/cmNinjaNormalTargetGenerator.cxx | |
parent | 0b3056821929646a0b9394c95dbdcc1482a18e89 (diff) | |
download | CMake-39dba8a2449e3f866088b13faf3d6cbf60852751.zip CMake-39dba8a2449e3f866088b13faf3d6cbf60852751.tar.gz CMake-39dba8a2449e3f866088b13faf3d6cbf60852751.tar.bz2 |
cmLocalGenerator: Adopt AppendModuleDefinitionFlag method
Migrate from `cmCommonTargetGenerator::AddModuleDefinitionFlag`.
Diffstat (limited to 'Source/cmNinjaNormalTargetGenerator.cxx')
-rw-r--r-- | Source/cmNinjaNormalTargetGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.cxx b/Source/cmNinjaNormalTargetGenerator.cxx index 4f6da0e..3426de9 100644 --- a/Source/cmNinjaNormalTargetGenerator.cxx +++ b/Source/cmNinjaNormalTargetGenerator.cxx @@ -1164,8 +1164,8 @@ void cmNinjaNormalTargetGenerator::WriteLinkStatement( this->addPoolNinjaVariable("JOB_POOL_LINK", gt, vars); - this->AddModuleDefinitionFlag(linkLineComputer.get(), vars["LINK_FLAGS"], - config); + localGen.AppendModuleDefinitionFlag(vars["LINK_FLAGS"], gt, + linkLineComputer.get(), config); this->UseLWYU = this->GetLocalGenerator()->AppendLWYUFlags( vars["LINK_FLAGS"], this->GetGeneratorTarget(), |