summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-01-18 22:01:21 (GMT)
committerBrad King <brad.king@kitware.com>2023-01-20 14:17:51 (GMT)
commitfaa950a155b1654e42c193c2016cdc69e9bb9c85 (patch)
tree7006dd9a23eb3892153bdf5d712b874294dd4185 /Source/cmGlobalGenerator.cxx
parent5031934fb05181eb925b81f6747feaa8ffa27787 (diff)
downloadCMake-faa950a155b1654e42c193c2016cdc69e9bb9c85.zip
CMake-faa950a155b1654e42c193c2016cdc69e9bb9c85.tar.gz
CMake-faa950a155b1654e42c193c2016cdc69e9bb9c85.tar.bz2
try_compile: Run native build tool with verbose output
Make the compiler command lines visible in the configure log. Issue: #23200
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r--Source/cmGlobalGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index 40234b1..fa5433f 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -2040,7 +2040,7 @@ int cmGlobalGenerator::TryCompile(int jobs, const std::string& srcdir,
cmBuildOptions defaultBuildOptions(false, fast, PackageResolveMode::Disable);
return this->Build(jobs, srcdir, bindir, projectName, newTarget, output, "",
- config, defaultBuildOptions, false,
+ config, defaultBuildOptions, true,
this->TryCompileTimeout);
}