diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-11-12 16:50:00 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2020-11-12 16:50:00 (GMT) |
commit | 46bc76ab634ed418c51c4dc50741533027a9cec9 (patch) | |
tree | a61d330e19e07747dcaf3bc9eaa35beb6855886c /config/cmake_ext_mod/grepTest.cmake | |
parent | aaca30285228aa56d100734a667db5d4e7942087 (diff) | |
download | hdf5-46bc76ab634ed418c51c4dc50741533027a9cec9.zip hdf5-46bc76ab634ed418c51c4dc50741533027a9cec9.tar.gz hdf5-46bc76ab634ed418c51c4dc50741533027a9cec9.tar.bz2 |
Correct TARGET variable and CMake config file location
Diffstat (limited to 'config/cmake_ext_mod/grepTest.cmake')
-rw-r--r-- | config/cmake_ext_mod/grepTest.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/cmake_ext_mod/grepTest.cmake b/config/cmake_ext_mod/grepTest.cmake index b011ae8..758b62b 100644 --- a/config/cmake_ext_mod/grepTest.cmake +++ b/config/cmake_ext_mod/grepTest.cmake @@ -46,7 +46,7 @@ endif () message (STATUS "COMMAND: ${TEST_EMULATOR} ${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}") @@ -105,7 +105,7 @@ if (TEST_ERRREF) file (READ ${TEST_FOLDER}/${TEST_REFERENCE} TEST_STREAM) list (LENGTH TEST_STREAM test_len) if (test_len GREATER 0) - if (WIN32 OR MINGW) + if (WIN32) configure_file(${TEST_FOLDER}/${TEST_REFERENCE} ${TEST_FOLDER}/${TEST_REFERENCE}.tmp NEWLINE_STYLE CRLF) if (EXISTS "${TEST_FOLDER}/${TEST_REFERENCE}.tmp") file(RENAME ${TEST_FOLDER}/${TEST_REFERENCE}.tmp ${TEST_FOLDER}/${TEST_REFERENCE}) |