diff options
author | Carsten Rudolph <18394207+crud89@users.noreply.github.com> | 2022-01-22 09:29:46 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-01-22 11:35:41 (GMT) |
commit | b2f8f0bb87b3b49a39d1db4333bffc5405166245 (patch) | |
tree | bbead21bb96a02373d752526f275eb503bd1a803 /Source/cmGlobalGenerator.cxx | |
parent | 193b8fca52b5665387dbc7f3199981d9e6cd4b79 (diff) | |
download | CMake-b2f8f0bb87b3b49a39d1db4333bffc5405166245.zip CMake-b2f8f0bb87b3b49a39d1db4333bffc5405166245.tar.gz CMake-b2f8f0bb87b3b49a39d1db4333bffc5405166245.tar.bz2 |
cmGlobalVisualStudio10Generator: Auto restore NuGet packages.
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 8559aba..156ecce 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -1994,7 +1994,7 @@ int cmGlobalGenerator::TryCompile(int jobs, const std::string& srcdir, } std::string config = mf->GetSafeDefinition("CMAKE_TRY_COMPILE_CONFIGURATION"); - cmBuildOptions defaultBuildOptions(false, fast); + cmBuildOptions defaultBuildOptions(false, fast, PackageResolveMode::Disable); return this->Build(jobs, srcdir, bindir, projectName, newTarget, output, "", config, defaultBuildOptions, false, |