vcpkg/ports/netcdf-c/hdf5_2.patch

14 lines
531 B
Diff
Raw Normal View History

diff --git a/liblib/CMakeLists.txt b/liblib/CMakeLists.txt
index ea9b0294..3c7f427d 100644
--- a/liblib/CMakeLists.txt
+++ b/liblib/CMakeLists.txt
@@ -83,7 +83,7 @@ IF(USE_HDF5 OR USE_NETCDF4)
# HDF5_HL_LIBRARY.
SET(TLL_LIBS ${HDF5_HL_LIBRARIES} ${HDF5_C_LIBRARIES} ${TLL_LIBS} ${SZIP_LIBRARY})
ELSE() # Windows CMake defines HDF5_LIBRARIES.
- SET(TLL_LIBS ${HDF5_LIBRARIES} ${TLL_LIBS} ${SZIP_LIBRARY})
+ SET(TLL_LIBS ${HDF5_HL_LIBRARIES} ${HDF5_C_LIBRARIES} ${TLL_LIBS} ${SZIP_LIBRARY})
ENDIF()
ENDIF()