Skip to content

Commit eac72ab

Browse files
committed
fix linking for GNU Make
1 parent 412a4b5 commit eac72ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ add_library(neural
143143
src/nf/io/nf_io_hdf5.f90
144144
src/nf/io/nf_io_hdf5_submodule.f90
145145
)
146-
target_link_libraries(neural PRIVATE HDF5::HDF5)
146+
target_link_libraries(neural PRIVATE h5fortran::h5fortran HDF5::HDF5)
147147
target_include_directories(neural PRIVATE ${jsonfortran_BINARY_DIR}/include)
148148

149149
# Remove leading or trailing whitespace

0 commit comments

Comments
 (0)