summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-01-18 17:01:21 -0500
committerBrad King <brad.king@kitware.com>2023-01-20 09:17:51 -0500
commitfaa950a155b1654e42c193c2016cdc69e9bb9c85 (patch)
tree7006dd9a23eb3892153bdf5d712b874294dd4185 /Source
parent5031934fb05181eb925b81f6747feaa8ffa27787 (diff)
downloadcmake-faa950a155b1654e42c193c2016cdc69e9bb9c85.tar.gz
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')
-rw-r--r--Source/cmGlobalGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index 40234b17e7..fa5433fb86 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);
}