diff options
Diffstat (limited to 'Source/cmTryCompileCommand.cxx')
-rw-r--r-- | Source/cmTryCompileCommand.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmTryCompileCommand.cxx b/Source/cmTryCompileCommand.cxx index e524b77..c7405ca 100644 --- a/Source/cmTryCompileCommand.cxx +++ b/Source/cmTryCompileCommand.cxx @@ -167,7 +167,8 @@ int cmTryCompileCommand::CoreTryCompileCode( << source << "\". TRY_COMPILE only works for enabled languages.\n" << "Currently enabled languages are:"; std::vector<std::string> langs; - mf->GetCMakeInstance()->GetGlobalGenerator()->GetEnabledLanguages(langs); + mf->GetCMakeInstance()->GetGlobalGenerator()-> + GetEnabledLanguages(langs); for(std::vector<std::string>::iterator l = langs.begin(); l != langs.end(); ++l) { |