summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-11-03 14:51:37 (GMT)
committerBrad King <brad.king@kitware.com>2021-11-03 14:51:37 (GMT)
commit6202af6092bf6c2b9d3e303f694e9c64bbf56991 (patch)
treeca33867e87716e1f67b3d7d8a8426e65ae48fe24
parentac5932c9e4d390cc5cb5106e283dd7c9b3457e8e (diff)
parent9ed1d7bee6f36b489fa3bb5e77add26ea6119f61 (diff)
downloadCMake-6202af6092bf6c2b9d3e303f694e9c64bbf56991.zip
CMake-6202af6092bf6c2b9d3e303f694e9c64bbf56991.tar.gz
CMake-6202af6092bf6c2b9d3e303f694e9c64bbf56991.tar.bz2
Merge branch 'msvc-cxx-modules-scanDependencies' into release-3.21
Merge-request: !6696
-rw-r--r--Source/cmScanDepFormat.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmScanDepFormat.cxx b/Source/cmScanDepFormat.cxx
index 6fcbce5..82a374a 100644
--- a/Source/cmScanDepFormat.cxx
+++ b/Source/cmScanDepFormat.cxx
@@ -97,7 +97,7 @@ bool cmScanDepFormat_P1689_Parse(std::string const& arg_pp,
}
Json::Value const& version = ppi["version"];
- if (version.asUInt() != 0) {
+ if (version.asUInt() > 1) {
cmSystemTools::Error(cmStrCat("-E cmake_ninja_dyndep failed to parse ",
arg_pp, ": version ", version.asString()));
return false;