Correct logic for running DAP4 tests when HDF5 is not enabled.
@@ -1062,11 +1062,14 @@ ENDIF()
IF(ENABLE_DAP)
SET(USE_DAP ON CACHE BOOL "")
SET(ENABLE_DAP2 ON CACHE BOOL "")
- SET(ENABLE_DAP4 ON CACHE BOOL "")
- IF(NOT ENABLE_HDF5)
+ IF(ENABLE_HDF5)
+ MESSAGE(STATUS "Enabling DAP4")
+ SET(ENABLE_DAP4 ON CACHE BOOL "")
+ ELSE()
+ MESSAGE(STATUS "Disabling DAP4")
SET(ENABLE_DAP4 OFF CACHE BOOL "")
- ENDIF(NOT ENABLE_HDF5)
+ ENDIF(ENABLE_HDF5)
ELSE()
SET(ENABLE_DAP2 OFF CACHE BOOL "")
