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 /.gitlab | |
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 '.gitlab')
-rw-r--r-- | .gitlab/ci/configure_mingw_osdn_io_common.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitlab/ci/configure_mingw_osdn_io_common.cmake b/.gitlab/ci/configure_mingw_osdn_io_common.cmake index 55dce1d..d316233 100644 --- a/.gitlab/ci/configure_mingw_osdn_io_common.cmake +++ b/.gitlab/ci/configure_mingw_osdn_io_common.cmake @@ -1,5 +1,8 @@ set(CMake_TEST_Java OFF CACHE BOOL "") +get_filename_component(mingw_dir "${CMAKE_CURRENT_LIST_DIR}/../mingw" ABSOLUTE) +set(CMake_TEST_MSYSTEM_PREFIX "${mingw_dir}" CACHE STRING "") + set(configure_no_sccache 1) include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") |