mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
making netcdf link publicly to hdf5 includd directoriess
This commit is contained in:
parent
0a01ea62dd
commit
12120235b2
@ -26,6 +26,7 @@ if(USE_HDF5)
|
||||
PRIVATE
|
||||
$<TARGET_OBJECTS:netcdfhdf5>
|
||||
)
|
||||
target_include_directories(netcdf PUBLIC ${HDF5_INCLUDE_DIR})
|
||||
endif()
|
||||
|
||||
if(USE_PNETCDF)
|
||||
|
@ -47,7 +47,6 @@ if(USE_HDF5)
|
||||
add_executable(nc4print nc4print.c nc4printer.c)
|
||||
add_executable(printfqn ${printfqn_FILES})
|
||||
add_executable(nchdf5version ${nchdf5version_FILES})
|
||||
target_include_directories(nchdf5version PRIVATE ${HDF5_INCLUDE_DIR})
|
||||
endif(USE_HDF5)
|
||||
|
||||
if(ENABLE_DAP)
|
||||
@ -65,7 +64,6 @@ if(USE_HDF5)
|
||||
target_link_libraries(nc4print netcdf ${ALL_TLL_LIBS})
|
||||
target_link_libraries(printfqn netcdf ${ALL_TLL_LIBS})
|
||||
target_link_libraries(nchdf5version netcdf ${ALL_TLL_LIBS})
|
||||
target_include_directories(ncdump PRIVATE ${HDF5_INCLUDE_DIR})
|
||||
endif(USE_HDF5)
|
||||
|
||||
if(ENABLE_DAP)
|
||||
|
Loading…
Reference in New Issue
Block a user