diff options
author | Brad King <brad.king@kitware.com> | 2020-03-12 12:25:21 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-03-12 12:26:07 (GMT) |
commit | f86d8009c6a4482c81221114a2b04b375564cc94 (patch) | |
tree | 3c2a0606494d0ce496f0d234ed531f0a40bf9794 /Source/cmSiteNameCommand.cxx | |
parent | 74954a6657a7b8f49ee68d61759df39c1a24e008 (diff) | |
parent | 36a5b3d1d165830045b9d7019fbe3df250ce0685 (diff) | |
download | CMake-f86d8009c6a4482c81221114a2b04b375564cc94.zip CMake-f86d8009c6a4482c81221114a2b04b375564cc94.tar.gz CMake-f86d8009c6a4482c81221114a2b04b375564cc94.tar.bz2 |
Merge topic 'add-cache-definition'
36a5b3d1d1 cmMakefile::AddCacheDefinition: Add overload that accepts std::string value
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4457
Diffstat (limited to 'Source/cmSiteNameCommand.cxx')
-rw-r--r-- | Source/cmSiteNameCommand.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmSiteNameCommand.cxx b/Source/cmSiteNameCommand.cxx index d47f121..b2d905e 100644 --- a/Source/cmSiteNameCommand.cxx +++ b/Source/cmSiteNameCommand.cxx @@ -72,8 +72,7 @@ bool cmSiteNameCommand(std::vector<std::string> const& args, } #endif status.GetMakefile().AddCacheDefinition( - args[0], siteName.c_str(), - "Name of the computer/site where compile is being run", + args[0], siteName, "Name of the computer/site where compile is being run", cmStateEnums::STRING); return true; |