diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-09-23 09:08:00 -0400 |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-09-23 09:08:00 -0400 |
commit | d85738fe3f2c6bc0cdb63b7e18c49233bd549ad7 (patch) | |
tree | aa9d6e24f6395f99a0f558804fdfdac69dcc8170 /Source/cmTryCompileCommand.cxx | |
parent | 67ac3ea5036f946557abb5ba7fde0bee4f17ace2 (diff) | |
download | cmake-d85738fe3f2c6bc0cdb63b7e18c49233bd549ad7.tar.gz |
remove warning
Diffstat (limited to 'Source/cmTryCompileCommand.cxx')
-rw-r--r-- | Source/cmTryCompileCommand.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmTryCompileCommand.cxx b/Source/cmTryCompileCommand.cxx index d4a2d1a82f..3972e2a6c1 100644 --- a/Source/cmTryCompileCommand.cxx +++ b/Source/cmTryCompileCommand.cxx @@ -155,12 +155,12 @@ int cmTryCompileCommand::CoreTryCompileCode( } else { - std::vector<std::string> lang; - mf->GetCMakeInstance()->GetGlobalGenerator()->GetEnabledLanguages(lang); + std::vector<std::string> langs; + mf->GetCMakeInstance()->GetGlobalGenerator()->GetEnabledLanguages(langs); std::string msg = "TRY_COMPILE only works for enabled languages files," "\nCurrently enabled languages are:\n"; - for(std::vector<std::string>::iterator l = lang.begin(); - l != lang.end(); ++l) + for(std::vector<std::string>::iterator l = langs.begin(); + l != langs.end(); ++l) { msg += *l; msg += " "; |