mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-24 15:38:54 -06:00
cmLocalGenerator: Get enabled languages from cmState.
This commit is contained in:
@@ -995,8 +995,8 @@ cmLocalGenerator::ExpandRuleVariable(std::string const& variable,
|
||||
{
|
||||
return this->Convert(cmSystemTools::GetCMakeCommand(), FULL, SHELL);
|
||||
}
|
||||
std::vector<std::string> enabledLanguages;
|
||||
this->GlobalGenerator->GetEnabledLanguages(enabledLanguages);
|
||||
std::vector<std::string> enabledLanguages =
|
||||
this->GetState()->GetEnabledLanguages();
|
||||
// loop over language specific replace variables
|
||||
int pos = 0;
|
||||
while(ruleReplaceVars[pos])
|
||||
|
||||
Reference in New Issue
Block a user