mirror of
https://github.com/Kitware/CMake.git
synced 2026-11-07 13:56:44 +00:00
cmGeneratorTarget: use typename for flag
Since the typename doesn't show up on the right side.
This commit is contained in:
1 parent
4a4986d28a
commit
7ebb5687ab
1 file changed
+2
-1
@@ -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