mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-02-05 16:20:10 +08:00
or perhaps it's this one
This commit is contained in:
parent
a0931fe06a
commit
e9cc0794a9
@ -243,7 +243,7 @@ if(USE_HDF5)
|
||||
endif()
|
||||
message(STATUS "Using HDF5 include dir: ${HDF5_INCLUDE_DIR}")
|
||||
target_include_directories(netcdf
|
||||
PRIVATE
|
||||
PUBLIC
|
||||
${HDF5_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
@ -415,14 +415,14 @@ if(USE_HDF5)
|
||||
message(FATAL_ERROR "Compiling a test with hdf5 failed. Either hdf5.h cannot be found, or the log messages should be checked for another reason.")
|
||||
else(NOT HAVE_HDF5_H)
|
||||
target_include_directories(netcdf
|
||||
PRIVATE
|
||||
PUBLIC
|
||||
${HAVE_HDF5_H}
|
||||
)
|
||||
endif(NOT HAVE_HDF5_H)
|
||||
|
||||
#option to include HDF5 High Level header file (hdf5_hl.h) in case we are not doing a make install
|
||||
target_include_directories(netcdf
|
||||
PRIVATE
|
||||
PUBLIC
|
||||
${HDF5_HL_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user