summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-02-22 19:33:04 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2011-02-22 19:33:04 (GMT)
commit521d2445313e809def1a4c1dfb23dd5ed945fead (patch)
treebd590db2f2ec15debf982da5a0cd70613fe253c5 /Tests
parent59cfdd5c77c8589068963a6c0bc5caadbf86666b (diff)
parent6a61a8a5383fe7418cdd893c97328a27b86b08da (diff)
downloadCMake-521d2445313e809def1a4c1dfb23dd5ed945fead.zip
CMake-521d2445313e809def1a4c1dfb23dd5ed945fead.tar.gz
CMake-521d2445313e809def1a4c1dfb23dd5ed945fead.tar.bz2
Merge topic 'mingw-module-definition'
6a61a8a Honor module .def files with MinGW tools (#9997)
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index 4d4764f..f418058 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -1079,8 +1079,11 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
IF(CMAKE_TEST_MSVC)
ADD_TEST_MACRO(ForceInclude foo)
ADD_TEST_MACRO(PrecompiledHeader foo)
+ ENDIF()
+ IF(CMAKE_TEST_MSVC OR
+ "${CMAKE_TEST_GENERATOR}" MATCHES "(MSYS|MinGW) Makefiles")
ADD_TEST_MACRO(ModuleDefinition example_exe)
- ENDIF(CMAKE_TEST_MSVC)
+ ENDIF()
ADD_TEST_MACRO(CheckCompilerRelatedVariables CheckCompilerRelatedVariables)