Fix CMake error message location. (#478)

Print error message if Perl is not found.
This commit is contained in:
H. Joe Lee 2021-03-19 21:20:11 -05:00 committed by GitHub
parent 1c8b3dbe4d
commit 03864c675c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -916,9 +916,9 @@ if (ENABLE_EXTENDED_TESTS)
ENVIRONMENT "srcdir=${HDF5_TEST_BINARY_DIR}/H5TEST/flushrefresh_test"
WORKING_DIRECTORY ${HDF5_TEST_BINARY_DIR}/H5TEST/flushrefresh_test
)
else ()
message (STATUS "Cannot execute TEST flushrefresh - perl not found")
endif ()
else ()
message (STATUS "Cannot execute TEST flushrefresh - perl not found")
endif ()
##############################################################################