mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:49:01 +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")
|
|
|