Skip to content

Commit

Permalink
trying to let netcdf4 find hdf5
Browse files Browse the repository at this point in the history
  • Loading branch information
K20shores committed Jan 26, 2024
1 parent e31d535 commit d7e7714
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libsrc4/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ set(ARGS_MANPAGE -DAPI=C)

if (USE_HDF5)
set(ARGS_MANPAGE ${ARGS_MANPAGE} -DNETCDF4=TRUE)
target_include_directories(netcdf4 PRIVATE ${HDF5_INCLUDE_DIR})
endif(USE_HDF5)

if (BUILD_DAP)
Expand Down

0 comments on commit d7e7714

Please sign in to comment.