Skip to content

Commit

Permalink
[JMT] Forgot to change Findhdf5.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
Juan Manzanero committed Sep 26, 2024
1 parent b13cd84 commit b5eeab4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmake/Findhdf5.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,11 @@ if (NOT hdf5_FOUND)
"$<BUILD_INTERFACE:${HDF5_LIBRARY}>"
"$<INSTALL_INTERFACE:$<INSTALL_PREFIX>/${CMAKE_INSTALL_LIBDIR}/${HDF5_LIB_NAME}>")

target_link_libraries(hdf5 INTERFACE ZLIB::ZLIB SZIP::SZIP)
target_link_libraries(hdf5 INTERFACE ZLIB::ZLIB)

if (WITH_SZIP)
target_link_libraries(hdf5 INTERFACE SZIP::SZIP)
endif()


foreach(t ${HDF5_LIB_ALL_FILES})
Expand Down

0 comments on commit b5eeab4

Please sign in to comment.