summaryrefslogtreecommitdiffstats
path: root/Source/CPack
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-04-01 14:42:31 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-04-01 14:43:25 (GMT)
commit4e69c9d8d83f7acd1174006dacb5ecd3b21c78a6 (patch)
treea04d6ca74fba4d20565c07a1096773ad0555f85f /Source/CPack
parent095cc2dc8d8e12828b6888ce72b771d1558c2834 (diff)
parentaa78a2537c267ffdb9b6926f5f01204e3b3dbb3e (diff)
downloadCMake-4e69c9d8d83f7acd1174006dacb5ecd3b21c78a6.zip
CMake-4e69c9d8d83f7acd1174006dacb5ecd3b21c78a6.tar.gz
CMake-4e69c9d8d83f7acd1174006dacb5ecd3b21c78a6.tar.bz2
Merge topic 'cpack-nsis-version'
aa78a2537c CPack/NSIS: Document and check requirement of at least NSIS 3.0 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4552
Diffstat (limited to 'Source/CPack')
-rw-r--r--Source/CPack/cmCPackNSISGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CPack/cmCPackNSISGenerator.cxx b/Source/CPack/cmCPackNSISGenerator.cxx
index 6b30407..9afdc62 100644
--- a/Source/CPack/cmCPackNSISGenerator.cxx
+++ b/Source/CPack/cmCPackNSISGenerator.cxx
@@ -453,12 +453,12 @@ int cmCPackNSISGenerator::InitializeInternal()
}
if (versionRex.find(output)) {
double nsisVersion = atof(versionRex.match(1).c_str());
- double minNSISVersion = 2.09;
+ double minNSISVersion = 3.0;
cmCPackLogger(cmCPackLog::LOG_DEBUG,
"NSIS Version: " << nsisVersion << std::endl);
if (nsisVersion < minNSISVersion) {
cmCPackLogger(cmCPackLog::LOG_ERROR,
- "CPack requires NSIS Version 2.09 or greater. "
+ "CPack requires NSIS Version 3.0 or greater. "
"NSIS found on the system was: "
<< nsisVersion << std::endl);
return 0;