vcpkg/ports/netcdf-c/transitive-hdf5.patch
2017-02-28 02:30:36 -08:00

14 lines
381 B
Diff

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