diff options
author | Carsten Rudolph <18394207+crud89@users.noreply.github.com> | 2022-01-22 09:12:25 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-01-22 11:35:41 (GMT) |
commit | 9aa7831f05e924830848822aecdb43aa7261bc11 (patch) | |
tree | 8764b548493b8ce44b29310cae62d53ef314649b /Source/cmCMakePresetsGraph.cxx | |
parent | b2f8f0bb87b3b49a39d1db4333bffc5405166245 (diff) | |
download | CMake-9aa7831f05e924830848822aecdb43aa7261bc11.zip CMake-9aa7831f05e924830848822aecdb43aa7261bc11.tar.gz CMake-9aa7831f05e924830848822aecdb43aa7261bc11.tar.bz2 |
Presets: add resolve packages setting to build presets.
Diffstat (limited to 'Source/cmCMakePresetsGraph.cxx')
-rw-r--r-- | Source/cmCMakePresetsGraph.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmCMakePresetsGraph.cxx b/Source/cmCMakePresetsGraph.cxx index 58dca36..f8e71c9 100644 --- a/Source/cmCMakePresetsGraph.cxx +++ b/Source/cmCMakePresetsGraph.cxx @@ -724,6 +724,9 @@ cmCMakePresetsGraph::BuildPreset::VisitPresetInherit( InheritOptionalValue(preset.CleanFirst, parent.CleanFirst); InheritOptionalValue(preset.Verbose, parent.Verbose); InheritVector(preset.NativeToolOptions, parent.NativeToolOptions); + if (!preset.ResolvePackageReferences) { + preset.ResolvePackageReferences = parent.ResolvePackageReferences; + } return ReadFileResult::READ_OK; } |