diff options
author | Sebastien Barre <sebastien.barre@kitware.com> | 2002-01-18 16:38:05 (GMT) |
---|---|---|
committer | Sebastien Barre <sebastien.barre@kitware.com> | 2002-01-18 16:38:05 (GMT) |
commit | 99c9d77f213104cab263471a4e7c5e78ed5d2414 (patch) | |
tree | 1df5e3bf91d67eca856654ec844c7f1aa1d8c4a1 /Source/cmSiteNameCommand.cxx | |
parent | b39f6afa45fe58b74e39fbdb847b918d348fdc5c (diff) | |
download | CMake-99c9d77f213104cab263471a4e7c5e78ed5d2414.zip CMake-99c9d77f213104cab263471a4e7c5e78ed5d2414.tar.gz CMake-99c9d77f213104cab263471a4e7c5e78ed5d2414.tar.bz2 |
Fix: argument was not used.
Diffstat (limited to 'Source/cmSiteNameCommand.cxx')
-rw-r--r-- | Source/cmSiteNameCommand.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmSiteNameCommand.cxx b/Source/cmSiteNameCommand.cxx index 657cb86..c4c59cd 100644 --- a/Source/cmSiteNameCommand.cxx +++ b/Source/cmSiteNameCommand.cxx @@ -49,7 +49,7 @@ bool cmSiteNameCommand::InitialPass(std::vector<std::string> const& args) return false; } const char* cacheValue - = m_Makefile->GetDefinition("SITE"); + = m_Makefile->GetDefinition(args[0].c_str()); if(cacheValue) { return true; @@ -102,7 +102,7 @@ bool cmSiteNameCommand::InitialPass(std::vector<std::string> const& args) } m_Makefile-> - AddCacheDefinition("SITE", + AddCacheDefinition(args[0].c_str(), siteName.c_str(), "Name of the computer/site where compile is being run", cmCacheManager::STRING); |