vcpkg/ports/netcdf-c/transitive-hdf5.patch

14 lines
381 B
Diff
Raw Normal View History

diff --git a/netCDFConfig.cmake.in b/netCDFConfig.cmake.in
index 6f4ccf8..14a3743 100644
--- a/netCDFConfig.cmake.in
+++ b/netCDFConfig.cmake.in
@@ -11,6 +11,8 @@ set_and_check(netCDF_LIB_DIR "@PACKAGE_CMAKE_INSTALL_LIBDIR@")
set(netCDF_LIBRARIES netcdf)
+find_package(HDF5 REQUIRED)
+
# include target information
include("${CMAKE_CURRENT_LIST_DIR}/netCDFTargets.cmake")