Skip to content

Commit

Permalink
TPL: See if this fixes modern build
Browse files Browse the repository at this point in the history
  • Loading branch information
gsjaardema committed Feb 18, 2025
1 parent 511fbd2 commit b7d2498
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/modules/FindMatio.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ else(Matio_LIBRARIES AND Matio_INCLUDE_DIRS)
file(STRINGS "${inc_path}/matio_pubconf.h" matio_default_version REGEX " MAT_FT_DEFAULT ")
string(REGEX MATCH "4|73" default_version "${matio_default_version}")
if (default_version EQUAL 73)
add_package_dependency(Matio DEPENDS_ON HDF5)
add_library(MATIO::HDF5 INTERFACE IMPORTED)

endif()
endif()

Expand Down

0 comments on commit b7d2498

Please sign in to comment.