mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 08:57:55 +08:00
14 lines
381 B
Diff
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")
|
|
|