summaryrefslogtreecommitdiffstats
path: root/src/hdf5-test.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'src/hdf5-test.cmake')
-rw-r--r--src/hdf5-test.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hdf5-test.cmake b/src/hdf5-test.cmake
index e6200e4..fce83df 100644
--- a/src/hdf5-test.cmake
+++ b/src/hdf5-test.cmake
@@ -8,6 +8,6 @@ enable_language(CXX)
add_executable(${TGT} ${CMAKE_CURRENT_LIST_DIR}/${PKG}-test.cpp)
find_package(HDF5 ${PKG_VERSION} EXACT REQUIRED COMPONENTS C HL)
-target_link_libraries(${TGT} ${HDF5_LIBRARIES})
+target_link_libraries(${TGT} ${HDF5_HL_LIBRARIES} ${HDF5_LIBRARIES})
install(TARGETS ${TGT} DESTINATION bin)