summaryrefslogtreecommitdiffstats
path: root/tools/h5ls/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5ls/CMakeLists.txt')
-rw-r--r--tools/h5ls/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/h5ls/CMakeLists.txt b/tools/h5ls/CMakeLists.txt
index ff1e3c4..398d027 100644
--- a/tools/h5ls/CMakeLists.txt
+++ b/tools/h5ls/CMakeLists.txt
@@ -389,15 +389,15 @@ IF (BUILD_TESTING)
# test for non-existing file
ADD_H5_TEST (nosuchfile 1 nosuchfile.h5)
- IF (WORDS_BIGENDIAN)
+ IF (H5_WORDS_BIGENDIAN)
# test for variable length data types in verbose mode
ADD_H5_TEST (tvldtypes2be 0 -v tvldtypes1.h5)
# test for dataset region references data types in verbose mode
ADD_H5_TEST (tdataregbe 0 -v tdatareg.h5)
- ELSE (WORDS_BIGENDIAN)
+ ELSE (H5_WORDS_BIGENDIAN)
ADD_H5_TEST (tvldtypes2le 0 -v tvldtypes1.h5)
ADD_H5_TEST (tdataregle 0 -v tdatareg.h5)
- ENDIF (WORDS_BIGENDIAN)
+ ENDIF (H5_WORDS_BIGENDIAN)
ENDIF (BUILD_TESTING)