summaryrefslogtreecommitdiffstats
path: root/Tests/ExportImport/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-12-05 21:49:10 (GMT)
committerBrad King <brad.king@kitware.com>2011-12-05 23:20:35 (GMT)
commitae62a1cd35fcd9be8d1beb11c864fbe417de429e (patch)
tree453e514fdcab4715f91a5eee5d6e7a72fc0a01cd /Tests/ExportImport/CMakeLists.txt
parentafb00fef193b1000aa76e3a523899712065d53d0 (diff)
downloadCMake-ae62a1cd35fcd9be8d1beb11c864fbe417de429e.zip
CMake-ae62a1cd35fcd9be8d1beb11c864fbe417de429e.tar.gz
CMake-ae62a1cd35fcd9be8d1beb11c864fbe417de429e.tar.bz2
Test CMAKE_GNUtoMS option in ExportImport on MinGW and MSys
Diffstat (limited to 'Tests/ExportImport/CMakeLists.txt')
-rw-r--r--Tests/ExportImport/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/ExportImport/CMakeLists.txt b/Tests/ExportImport/CMakeLists.txt
index 2e01c50..ccfb894 100644
--- a/Tests/ExportImport/CMakeLists.txt
+++ b/Tests/ExportImport/CMakeLists.txt
@@ -22,6 +22,11 @@ else(CMAKE_CONFIGURATION_TYPES)
endif(CMAKE_BUILD_TYPE)
endif(CMAKE_CONFIGURATION_TYPES)
+if(MINGW OR MSYS)
+ # Test CMAKE_GNUtoMS whether we have VS or not.
+ set(ExportImport_GNUtoMS 1)
+endif()
+
configure_file(${ExportImport_SOURCE_DIR}/InitialCache.cmake.in
${ExportImport_BINARY_DIR}/InitialCache.cmake @ONLY)