aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index d086d1a8..7c1a7836 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -140,21 +140,21 @@ add_test(evparse7 evparse7)
add_executable(ev_enum1 ev_enum1.c)
target_include_directories(ev_enum1 PRIVATE ${COMMON_INCLUDES})
-target_link_libraries(ev_enum1 ${COMMON_LIBRARIES} -lhdf5)
+target_link_libraries(ev_enum1 ${COMMON_LIBRARIES})
add_test(NAME ev_enum1
COMMAND ev_enum1 ${CMAKE_CURRENT_SOURCE_DIR}/ev_enum1.h5
${CMAKE_CURRENT_SOURCE_DIR}/ev_enum1.geom)
add_executable(ev_enum2 ev_enum2.c)
target_include_directories(ev_enum2 PRIVATE ${COMMON_INCLUDES})
-target_link_libraries(ev_enum2 ${COMMON_LIBRARIES} -lhdf5)
+target_link_libraries(ev_enum2 ${COMMON_LIBRARIES})
add_test(NAME ev_enum2
COMMAND ev_enum2 ${CMAKE_CURRENT_SOURCE_DIR}/ev_enum2.h5
${CMAKE_CURRENT_SOURCE_DIR}/ev_enum2.geom)
add_executable(ev_enum3 ev_enum3.c)
target_include_directories(ev_enum3 PRIVATE ${COMMON_INCLUDES})
-target_link_libraries(ev_enum3 ${COMMON_LIBRARIES} -lhdf5)
+target_link_libraries(ev_enum3 ${COMMON_LIBRARIES})
add_test(NAME ev_enum3
COMMAND ev_enum3 ${CMAKE_CURRENT_SOURCE_DIR}/ev_enum3.h5
${CMAKE_CURRENT_SOURCE_DIR}/ev_enum3.geom)