summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/find_program/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorOrgad Shaneh <orgads@gmail.com>2021-04-01 17:03:52 (GMT)
committerBrad King <brad.king@kitware.com>2021-04-26 18:27:34 (GMT)
commitddcd1469e8377fe258913a20aa47e65f71f8695b (patch)
treed18b6561383a8f4bc206dac848a15814b74ca642 /Tests/RunCMake/find_program/RunCMakeTest.cmake
parentb3ca4f9ad18220b2f56cd6af7df5cf1e671d39a8 (diff)
downloadCMake-ddcd1469e8377fe258913a20aa47e65f71f8695b.zip
CMake-ddcd1469e8377fe258913a20aa47e65f71f8695b.tar.gz
CMake-ddcd1469e8377fe258913a20aa47e65f71f8695b.tar.bz2
MSYS: Add support for running under MSYS runtime environment
Detect MSYS as CYGWIN, with the required adaptations.
Diffstat (limited to 'Tests/RunCMake/find_program/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/find_program/RunCMakeTest.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/find_program/RunCMakeTest.cmake b/Tests/RunCMake/find_program/RunCMakeTest.cmake
index 3e23920..77c021d 100644
--- a/Tests/RunCMake/find_program/RunCMakeTest.cmake
+++ b/Tests/RunCMake/find_program/RunCMakeTest.cmake
@@ -6,7 +6,7 @@ run_cmake(NamesPerDir)
run_cmake(RelAndAbsPath)
run_cmake(Required)
-if(CMAKE_SYSTEM_NAME MATCHES "^(Windows|CYGWIN)$")
+if(CMAKE_SYSTEM_NAME MATCHES "^(Windows|CYGWIN|MSYS)$")
run_cmake(WindowsCom)
run_cmake(WindowsExe)
else()