forked from lijiext/lammps
USER-H5MD.cmake: make hdf5 incldir public
This commit is contained in:
parent
b9131fcd18
commit
58c9c4c64b
|
@ -3,5 +3,5 @@ if(PKG_USER-H5MD)
|
|||
|
||||
find_package(HDF5 REQUIRED)
|
||||
target_link_libraries(h5md PRIVATE ${HDF5_LIBRARIES})
|
||||
target_include_directories(h5md PRIVATE ${HDF5_INCLUDE_DIRS})
|
||||
target_include_directories(h5md PUBLIC ${HDF5_INCLUDE_DIRS})
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue