attempting fix for cmake HDF4 build problem when netcdf-4 is not built

This commit is contained in:
Ed Hartnett 2018-02-09 07:44:40 -07:00
parent 111cef3891
commit 2cbb4f6b64

View File

@ -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)