USER-H5MD.cmake: make hdf5 incldir public

This commit is contained in:
Christoph Junghans 2020-03-25 10:14:42 -06:00
parent b9131fcd18
commit 58c9c4c64b
1 changed files with 1 additions and 1 deletions

View File

@ -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()