diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2023-09-25 21:06:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-25 21:06:32 (GMT) |
commit | e0c5376f99f752c1c5451ad30605fb422c0c579f (patch) | |
tree | 10010e254a21112ac766f605cea21753d7a2b473 /config/cmake | |
parent | d47f41ea137097f8c30e96cc94903ec074c53bc6 (diff) | |
download | hdf5-e0c5376f99f752c1c5451ad30605fb422c0c579f.zip hdf5-e0c5376f99f752c1c5451ad30605fb422c0c579f.tar.gz hdf5-e0c5376f99f752c1c5451ad30605fb422c0c579f.tar.bz2 |
Just print status on CMake below 3.14 (#3595)snapshot-1.10
* Revert incorrect change
Diffstat (limited to 'config/cmake')
-rw-r--r-- | config/cmake/fileCompareTest.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/cmake/fileCompareTest.cmake b/config/cmake/fileCompareTest.cmake index 4a8dc09..f4c46f6 100644 --- a/config/cmake/fileCompareTest.cmake +++ b/config/cmake/fileCompareTest.cmake @@ -59,7 +59,7 @@ if (TEST_STRINGS STREQUAL "YES") endif () else () if (CMAKE_VERSION VERSION_LESS "3.14.0") - message (FATAL_ERROR "CANNOT get file size, file command SIZE not supported") + message (STATUS "CANNOT get file size, file command SIZE not supported") else () file (SIZE ${TEST_FOLDER}/${TEST_ONEFILE} TEST_ONE_SIZE) file (SIZE ${TEST_FOLDER}/${TEST_TWOFILE} TEST_TWO_SIZE) @@ -74,7 +74,7 @@ else () elseif (TEST_FUNCTION MATCHES "LTEQ") if (TEST_ONE_SIZE LESS_EQUAL TEST_TWO_SIZE) if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.15.0") - message (VERBOSES "Passed: The size of ${TEST_FOLDER}/${TEST_ONEFILE} was less or equal ${TEST_FOLDER}/${TEST_TWOFILE}") + message (VERBOSE "Passed: The size of ${TEST_FOLDER}/${TEST_ONEFILE} was less or equal ${TEST_FOLDER}/${TEST_TWOFILE}") endif () else () message (FATAL_ERROR "The size of ${TEST_FOLDER}/${TEST_ONEFILE} was NOT less or equal ${TEST_FOLDER}/${TEST_TWOFILE}") |