mirror of
https://github.com/Kitware/CMake.git
synced 2026-08-09 17:18:18 +00:00
cmGeneratorTarget: use typename for flag
Since the typename doesn't show up on the right side.
This commit is contained in:
@@ -2357,7 +2357,8 @@ cmGeneratorTarget::GetClassifiedFlagsForSource(cmSourceFile const* sf,
|
||||
if (!mf->GetDefinition("CMAKE_CXX_COMPILE_BMI").IsEmpty()) {
|
||||
useBmiTemplate = true;
|
||||
} else {
|
||||
auto flag = mf->GetSafeDefinition("CMAKE_CXX_MODULE_BMI_ONLY_FLAG");
|
||||
std::string flag =
|
||||
mf->GetSafeDefinition("CMAKE_CXX_MODULE_BMI_ONLY_FLAG");
|
||||
cmRulePlaceholderExpander::RuleVariables compileObjectVars;
|
||||
compileObjectVars.Object = sfVars.ObjectFileDir.c_str();
|
||||
auto rulePlaceholderExpander = lg->CreateRulePlaceholderExpander();
|
||||
|
||||
Reference in New Issue
Block a user