summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2023-07-29 15:54:49 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2023-07-31 15:59:50 (GMT)
commitdeb1c3cbd577ba2ddbc0044794ec854847c99cf8 (patch)
tree4cab8be581b2f7794322029d2369640a377c9014 /Source
parentb768d293c5c358dd734234cacab7c34e61c88c54 (diff)
downloadCMake-deb1c3cbd577ba2ddbc0044794ec854847c99cf8.zip
CMake-deb1c3cbd577ba2ddbc0044794ec854847c99cf8.tar.gz
CMake-deb1c3cbd577ba2ddbc0044794ec854847c99cf8.tar.bz2
cmCoreTryCompile: forward module-related binutils variables
Diffstat (limited to 'Source')
-rw-r--r--Source/cmCoreTryCompile.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmCoreTryCompile.cxx b/Source/cmCoreTryCompile.cxx
index 03c71bf..2ec62d9 100644
--- a/Source/cmCoreTryCompile.cxx
+++ b/Source/cmCoreTryCompile.cxx
@@ -1098,6 +1098,7 @@ cm::optional<cmTryCompileResult> cmCoreTryCompile::TryCompileCode(
vars.emplace("CMAKE_MSVC_RUNTIME_LIBRARY"_s);
vars.emplace("CMAKE_WATCOM_RUNTIME_LIBRARY"_s);
vars.emplace("CMAKE_MSVC_DEBUG_INFORMATION_FORMAT"_s);
+ vars.emplace("CMAKE_CXX_COMPILER_CLANG_SCAN_DEPS"_s);
if (cmValue varListStr = this->Makefile->GetDefinition(
kCMAKE_TRY_COMPILE_PLATFORM_VARIABLES)) {