diff --git a/liblib/CMakeLists.txt b/liblib/CMakeLists.txt index 3e87d920e8..4116595f3e 100644 --- a/liblib/CMakeLists.txt +++ b/liblib/CMakeLists.txt @@ -148,7 +148,7 @@ if(FOUND_CURL) endif() if(USE_HDF4) - set(TLL_LIBS ${HDF4_MFHDF_LIB} ${HDF4_DF_LIB} ${TLL_LIBS}) + set(TLL_LIBS ${HDF4_LIBRARIES} ${TLL_LIBS}) endif() if(ENABLE_PNETCDF AND PNETCDF)