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/cmMakefileExecutableTargetGenerator.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/cmMakefileExecutableTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileExecutableTargetGenerator.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmMakefileExecutableTargetGenerator.cxx b/Source/cmMakefileExecutableTargetGenerator.cxx index 244f56e..3849c6f 100644 --- a/Source/cmMakefileExecutableTargetGenerator.cxx +++ b/Source/cmMakefileExecutableTargetGenerator.cxx @@ -407,8 +407,9 @@ void cmMakefileExecutableTargetGenerator::WriteExecutableRule(bool relink) this->LocalGenerator, this->LocalGenerator->GetStateSnapshot().GetDirectory()); - this->AddModuleDefinitionFlag(linkLineComputer.get(), linkFlags, - this->GetConfigName()); + this->LocalGenerator->AppendModuleDefinitionFlag( + linkFlags, this->GeneratorTarget, linkLineComputer.get(), + this->GetConfigName()); } this->LocalGenerator->AppendIPOLinkerFlags( |