Skip to content

Commit 566c09c

Browse files
committed
Fix HDF5 linking by updating target in CMakeLists.txt
1 parent 08dac28 commit 566c09c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ find_package(HDF5 1.14 COMPONENTS C CXX HL CONFIG REQUIRED)
3030
if (HDF5_FOUND)
3131
message(STATUS "HDF5 was found ... ${HDF5_VERSION}")
3232
include_directories(${HDF5_INCLUDE_DIRS})
33-
target_link_libraries(your_target_name ${HDF5_LIBRARIES})
33+
target_link_libraries(ecell4-core ${HDF5_LIBRARIES})
3434
if(WIN32)
3535
add_definitions(-DH5_BUILT_AS_DYNAMIC_LIB)
3636
endif()

0 commit comments

Comments
 (0)