summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-02-02 15:57:40 (GMT)
committerKitware Robot <kwrobot@kitware.com>2024-02-02 15:57:55 (GMT)
commitcc0c31e79f5c477c7016d5fc831152e58f7abd07 (patch)
treebc7b4c3fa648e415ce8e84086cfb3236ff23b213 /Tests/RunCMake/CMakeLists.txt
parent1bbec7927d8770312edc1564b592b0056d845b44 (diff)
parentf875c479f5b00198d813a56212b6410ee2a33b14 (diff)
downloadCMake-cc0c31e79f5c477c7016d5fc831152e58f7abd07.zip
CMake-cc0c31e79f5c477c7016d5fc831152e58f7abd07.tar.gz
CMake-cc0c31e79f5c477c7016d5fc831152e58f7abd07.tar.bz2
Merge topic 'GoogleTest-test-launcher'
f875c479f5 GoogleTest: Honor TEST_LAUNCHER in gtest_discover_tests Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9174
Diffstat (limited to 'Tests/RunCMake/CMakeLists.txt')
-rw-r--r--Tests/RunCMake/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt
index 4d3efd3..245d550 100644
--- a/Tests/RunCMake/CMakeLists.txt
+++ b/Tests/RunCMake/CMakeLists.txt
@@ -428,7 +428,11 @@ endif()
add_RunCMake_test(GeneratorToolset)
add_RunCMake_test(GetPrerequisites -DSAMPLE_EXE=$<TARGET_FILE:exit_code>)
add_RunCMake_test(GNUInstallDirs -DSYSTEM_NAME=${CMAKE_SYSTEM_NAME})
-add_RunCMake_test(GoogleTest) # Note: does not actually depend on Google Test
+add_RunCMake_test(GoogleTest # Note: does not actually depend on Google Test
+ -DCMAKE_C_COMPILER_ID=${CMAKE_C_COMPILER_ID}
+ -DCMAKE_C_COMPILER_VERSION=${CMAKE_C_COMPILER_VERSION}
+ -DCMAKE_VS_PLATFORM_NAME=${CMAKE_VS_PLATFORM_NAME}
+ )
add_RunCMake_test(Graphviz)
add_RunCMake_test(Languages)
add_RunCMake_test(LinkItemValidation)