summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMakeLists.txt
diff options
context:
space:
mode:
authorEvan Wilde <etceterawilde@gmail.com>2024-03-22 16:24:02 (GMT)
committerBrad King <brad.king@kitware.com>2024-04-02 14:42:12 (GMT)
commit3fb4092826319730d529563820eefdaa3449a276 (patch)
tree55bf5b2febad4bafcc580b839fcd305ca5171583 /Tests/RunCMake/CMakeLists.txt
parent659bc156eff0a90c2ea3fdb3d866e07f8c0e436b (diff)
downloadCMake-3fb4092826319730d529563820eefdaa3449a276.zip
CMake-3fb4092826319730d529563820eefdaa3449a276.tar.gz
CMake-3fb4092826319730d529563820eefdaa3449a276.tar.bz2
Swift: Add CMAKE_LINKER_TYPE support
Extend commit 96a953b1ed (Add options to specify linker tool, 2023-09-27, v3.29.0-rc1~577^2) with the `CMAKE_Swift_USING_LINKER_*` variables needed to support `CMAKE_LINKER_TYPE` for Swift.
Diffstat (limited to 'Tests/RunCMake/CMakeLists.txt')
-rw-r--r--Tests/RunCMake/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt
index d9090d6..f10e72d 100644
--- a/Tests/RunCMake/CMakeLists.txt
+++ b/Tests/RunCMake/CMakeLists.txt
@@ -783,6 +783,7 @@ if (CMAKE_SYSTEM_NAME MATCHES "(Linux|Darwin|Windows)"
AND CMAKE_C_COMPILER_ID MATCHES "^(AppleClang|Clang|GNU|MSVC|NVIDIA)$"
AND NOT CMAKE_GENERATOR STREQUAL "Green Hills MULTI")
add_RunCMake_test(LinkerSelection -DCMake_TEST_CUDA=${CMake_TEST_CUDA}
+ -DCMake_TEST_Swift=${CMake_TEST_Swift}
-DCMAKE_C_COMPILER_ID=${CMAKE_C_COMPILER_ID}
-DCMAKE_C_COMPILER_VERSION=${CMAKE_C_COMPILER_VERSION})
endif()