diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2019-02-20 18:50:00 (GMT) |
---|---|---|
committer | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2019-02-20 19:53:39 (GMT) |
commit | 4e315e9449735fc0f246c8cc838613693e849296 (patch) | |
tree | 73e74046ff415ed019c23a3433b015f229813c6d /Source/CPack | |
parent | b76b83efd37a439e22d1d92af3b98c30e8f9ba97 (diff) | |
download | CMake-4e315e9449735fc0f246c8cc838613693e849296.zip CMake-4e315e9449735fc0f246c8cc838613693e849296.tar.gz CMake-4e315e9449735fc0f246c8cc838613693e849296.tar.bz2 |
cmSystemTools: More functions accept `std::string` params
Diffstat (limited to 'Source/CPack')
-rw-r--r-- | Source/CPack/cmCPackGenerator.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/CPack/cmCPackGenerator.cxx b/Source/CPack/cmCPackGenerator.cxx index 575254e..127bcf9 100644 --- a/Source/CPack/cmCPackGenerator.cxx +++ b/Source/CPack/cmCPackGenerator.cxx @@ -1255,9 +1255,8 @@ bool cmCPackGenerator::ConfigureFile(const std::string& inName, int cmCPackGenerator::CleanTemporaryDirectory() { - std::string tempInstallDirectoryWithPostfix = + std::string tempInstallDirectory = this->GetOption("CPACK_TEMPORARY_INSTALL_DIRECTORY"); - const char* tempInstallDirectory = tempInstallDirectoryWithPostfix.c_str(); if (cmsys::SystemTools::FileExists(tempInstallDirectory)) { cmCPackLogger(cmCPackLog::LOG_OUTPUT, "- Clean temporary : " << tempInstallDirectory << std::endl); |