summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-08-26 15:17:30 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-08-26 15:17:30 (GMT)
commitafb06550c5dcac37174c335e6876a6140f269eb5 (patch)
treedd0f4ba127e5f02cf6bd51896bc08eb56a6eb7c3 /config
parent574cb4e9425ba1ce8bf0a777caa6cf4e9d57ca4e (diff)
downloadhdf5-afb06550c5dcac37174c335e6876a6140f269eb5.zip
hdf5-afb06550c5dcac37174c335e6876a6140f269eb5.tar.gz
hdf5-afb06550c5dcac37174c335e6876a6140f269eb5.tar.bz2
MinGW uses "MinGW Makefiles"
Diffstat (limited to 'config')
-rw-r--r--config/cmake/scripts/HDF5config.cmake7
1 files changed, 6 insertions, 1 deletions
diff --git a/config/cmake/scripts/HDF5config.cmake b/config/cmake/scripts/HDF5config.cmake
index e32f799..612f997 100644
--- a/config/cmake/scripts/HDF5config.cmake
+++ b/config/cmake/scripts/HDF5config.cmake
@@ -21,6 +21,7 @@ cmake_minimum_required (VERSION 3.12)
# ctest -S HDF5config.cmake,OPTION=VALUE -C Release -VV -O test.log
# where valid options for OPTION are:
# BUILD_GENERATOR - The cmake build generator:
+# MinGW * MinGW Makefiles
# Unix * Unix Makefiles
# VS2019 * Visual Studio 16 2019
# VS201964 * Visual Studio 16 2019
@@ -167,7 +168,11 @@ if (NOT DEFINED HPC)
## Set the following to unique id your computer ##
set (CTEST_SITE "WIN7${BUILD_GENERATOR}.XXXX")
else ()
- set (CTEST_CMAKE_GENERATOR "Unix Makefiles")
+ if (MINGW)
+ set (CTEST_CMAKE_GENERATOR "MinGW Makefiles")
+ else ()
+ set (CTEST_CMAKE_GENERATOR "Unix Makefiles")
+ endif ()
## Set the following to unique id your computer ##
if (APPLE)
set (CTEST_SITE "MAC.XXXX")