mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-13 01:29:02 -05:00
Merge topic 'cpack-different-checksum-file-per-generator'
b06870e5 CPack: use a distinct checksum file for each generator
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1291
This commit is contained in:
@@ -999,8 +999,7 @@ int cmCPackGenerator::DoPackage()
|
||||
/* Generate checksum file */
|
||||
if (crypto.get() != nullptr) {
|
||||
std::string hashFile(this->GetOption("CPACK_OUTPUT_FILE_PREFIX"));
|
||||
hashFile +=
|
||||
"/" + filename.substr(0, filename.rfind(this->GetOutputExtension()));
|
||||
hashFile += "/" + filename;
|
||||
hashFile += "." + cmSystemTools::LowerCase(algo);
|
||||
cmsys::ofstream outF(hashFile.c_str());
|
||||
if (!outF) {
|
||||
|
||||
Reference in New Issue
Block a user