[hdf5] Always use config mode for HDF5

This commit is contained in:
Robert Schumacher 2018-02-05 17:50:16 -08:00
parent 8d4d308714
commit d385e296a6

View File

@ -223,6 +223,8 @@ macro(find_package name)
add_library(tinyxml2 INTERFACE IMPORTED) add_library(tinyxml2 INTERFACE IMPORTED)
set_target_properties(tinyxml2 PROPERTIES INTERFACE_LINK_LIBRARIES "tinyxml2_static") set_target_properties(tinyxml2 PROPERTIES INTERFACE_LINK_LIBRARIES "tinyxml2_static")
endif() endif()
elseif("${name}" STREQUAL "HDF5")
_find_package(${ARGV} CONFIG)
else() else()
_find_package(${ARGV}) _find_package(${ARGV})
endif() endif()