diff options
author | Brad King <brad.king@kitware.com> | 2021-02-24 14:33:59 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-02-24 14:33:59 (GMT) |
commit | 06e16ea008bf6efbe68028279539cfc6d1ff7a93 (patch) | |
tree | 32d9e2b807f4027033b02db6a3a189cf459c0698 /Source/cmCMakePresetsFile.cxx | |
parent | afaa69f5b3812904177eb96dfb59a505a7e165d7 (diff) | |
parent | 431dd59b5e30000c3e3860af69c0dd387634205b (diff) | |
download | CMake-06e16ea008bf6efbe68028279539cfc6d1ff7a93.zip CMake-06e16ea008bf6efbe68028279539cfc6d1ff7a93.tar.gz CMake-06e16ea008bf6efbe68028279539cfc6d1ff7a93.tar.bz2 |
Merge branch 'backport-3.19-preset-no-comments' into preset-no-comments
Diffstat (limited to 'Source/cmCMakePresetsFile.cxx')
-rw-r--r-- | Source/cmCMakePresetsFile.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmCMakePresetsFile.cxx b/Source/cmCMakePresetsFile.cxx index 29d5325..c8d69b8 100644 --- a/Source/cmCMakePresetsFile.cxx +++ b/Source/cmCMakePresetsFile.cxx @@ -1519,6 +1519,7 @@ cmCMakePresetsFile::ReadFileResult cmCMakePresetsFile::ReadJSONFile( Json::Value root; Json::CharReaderBuilder builder; + Json::CharReaderBuilder::strictMode(&builder.settings_); if (!Json::parseFromStream(builder, fin, &root, nullptr)) { return ReadFileResult::JSON_PARSE_ERROR; } |