summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMichel Zou <xantares09@hotmail.com>2020-10-30 12:09:23 (GMT)
committerMichel Zou <xantares09@hotmail.com>2020-10-30 15:09:28 (GMT)
commit0db1fe81d58e6926b3e5982dd0329fc95faf2c8e (patch)
tree55f882d7714863bbaa74e20ed09fca97fb88d277 /test
parent6c0f954d683142e123baa4d48f5a69d5e20aa11d (diff)
downloadhdf5-0db1fe81d58e6926b3e5982dd0329fc95faf2c8e.zip
hdf5-0db1fe81d58e6926b3e5982dd0329fc95faf2c8e.tar.gz
hdf5-0db1fe81d58e6926b3e5982dd0329fc95faf2c8e.tar.bz2
CMake: MINGW implies WIN32
Diffstat (limited to 'test')
-rw-r--r--test/CMakeTests.cmake4
-rw-r--r--test/flushrefreshTest.cmake2
2 files changed, 3 insertions, 3 deletions
diff --git a/test/CMakeTests.cmake b/test/CMakeTests.cmake
index 462e9d5..013189c 100644
--- a/test/CMakeTests.cmake
+++ b/test/CMakeTests.cmake
@@ -844,7 +844,7 @@ endif ()
### F I L T E R P L U G I N T E S T S
##############################################################################
if (BUILD_SHARED_LIBS)
- if (WIN32 OR MINGW)
+ if (WIN32)
set (CMAKE_SEP "\;")
set (BIN_REL_PATH "../../")
else ()
@@ -940,7 +940,7 @@ endif ()
### V O L P L U G I N T E S T S
##############################################################################
if (BUILD_SHARED_LIBS)
- if (WIN32 OR MINGW)
+ if (WIN32)
set (CMAKE_SEP "\;")
set (BIN_REL_PATH "../../")
else ()
diff --git a/test/flushrefreshTest.cmake b/test/flushrefreshTest.cmake
index 6faf37b..e280b8b 100644
--- a/test/flushrefreshTest.cmake
+++ b/test/flushrefreshTest.cmake
@@ -41,7 +41,7 @@ endif ()
message (STATUS "COMMAND: ${TEST_PROGRAM} ${TEST_ARGS}")
if (TEST_LIBRARY_DIRECTORY)
- if (WIN32 OR MINGW)
+ if (WIN32)
set (ENV{PATH} "$ENV{PATH};${TEST_LIBRARY_DIRECTORY}")
else ()
set (ENV{LD_LIBRARY_PATH} "$ENV{LD_LIBRARY_PATH}:${TEST_LIBRARY_DIRECTORY}")