diff --git a/CMakeLists.txt b/CMakeLists.txt index 7151e8329..1902bbca1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1727,9 +1727,9 @@ IF(USE_HDF5) add_subdirectory(libsrc4) ENDIF(USE_HDF5) -IF(USE_HDF4) +IF(ENABLE_HDF4) add_subdirectory(libhdf4) -ENDIF(USE_HDF4) +ENDIF(ENABLE_HDF4) IF(ENABLE_DAP2) ADD_SUBDIRECTORY(oc2)