summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/try_run
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-12-07 15:47:39 (GMT)
committerBrad King <brad.king@kitware.com>2023-12-07 15:49:23 (GMT)
commita5de5da9cab53839f8b24096e8713da39960af7c (patch)
tree8f0cccb0e9b0b4bc6e8b1518ab93dcea99b0edc1 /Tests/RunCMake/try_run
parenta4b1541b3a3425427cd9f978b2aacf2faabef13b (diff)
downloadCMake-a5de5da9cab53839f8b24096e8713da39960af7c.zip
CMake-a5de5da9cab53839f8b24096e8713da39960af7c.tar.gz
CMake-a5de5da9cab53839f8b24096e8713da39960af7c.tar.bz2
Tests: Remove unused code from RunCMake.try_run
Diffstat (limited to 'Tests/RunCMake/try_run')
-rw-r--r--Tests/RunCMake/try_run/RunCMakeTest.cmake4
1 files changed, 0 insertions, 4 deletions
diff --git a/Tests/RunCMake/try_run/RunCMakeTest.cmake b/Tests/RunCMake/try_run/RunCMakeTest.cmake
index bd7cd9b..38e1a95 100644
--- a/Tests/RunCMake/try_run/RunCMakeTest.cmake
+++ b/Tests/RunCMake/try_run/RunCMakeTest.cmake
@@ -23,9 +23,5 @@ endif()
if (CMAKE_SYSTEM_NAME MATCHES "^(Linux|Darwin|Windows)$" AND
CMAKE_CXX_COMPILER_ID MATCHES "^(GNU|Clang|AppleClang)$" AND
CMAKE_Fortran_COMPILER_ID MATCHES "^(GNU)$")
- set (RunCMake_TEST_OPTIONS
- -DRunCMake_CXX_COMPILER_ID=${CMAKE_CXX_COMPILER_ID}
- -DRunCMake_Fortran_COMPILER_ID=${CMAKE_Fortran_COMPILER_ID})
run_cmake(LinkerLanguage)
- unset (RunCMake_TEST_OPTIONS)
endif()