diff options
author | Brad King <brad.king@kitware.com> | 2023-09-09 00:06:13 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-09-10 11:33:47 (GMT) |
commit | 84a25fc263b19dc12b062b1272546638721ca28a (patch) | |
tree | 2c5a75a6f073119178d9691b80a9c6a6260fb3ab /Tests/RunCMake/CMakeLists.txt | |
parent | cdcff0a0f0b67b19ebd0fb49c6d54a9bca71581e (diff) | |
download | CMake-84a25fc263b19dc12b062b1272546638721ca28a.zip CMake-84a25fc263b19dc12b062b1272546638721ca28a.tar.gz CMake-84a25fc263b19dc12b062b1272546638721ca28a.tar.bz2 |
cmake_host_system_information: Add MSYSTEM_PREFIX query
Add a query on Windows hosts for the installation prefix of a
MSYS or MinGW development environment.
Issue: #24216
Diffstat (limited to 'Tests/RunCMake/CMakeLists.txt')
-rw-r--r-- | Tests/RunCMake/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt index 5e212bd..02efb25 100644 --- a/Tests/RunCMake/CMakeLists.txt +++ b/Tests/RunCMake/CMakeLists.txt @@ -474,6 +474,9 @@ if(NOT CMake_TEST_EXTERNAL_CMAKE) endif() add_RunCMake_test(execute_process) add_RunCMake_test(export) +if(CMake_TEST_MSYSTEM_PREFIX) + list(APPEND cmake_host_system_information_ARGS -DCMake_TEST_MSYSTEM_PREFIX=${CMake_TEST_MSYSTEM_PREFIX}) +endif() add_RunCMake_test(cmake_host_system_information) add_RunCMake_test(cmake_language) add_RunCMake_test(cmake_minimum_required) |