From d385e296a6929bcf7e86eda925376e0cabce6fd4 Mon Sep 17 00:00:00 2001 From: Robert Schumacher Date: Mon, 5 Feb 2018 17:50:16 -0800 Subject: [PATCH] [hdf5] Always use config mode for HDF5 --- scripts/buildsystems/vcpkg.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/buildsystems/vcpkg.cmake b/scripts/buildsystems/vcpkg.cmake index 8ee21d4117..76d77a0b5b 100644 --- a/scripts/buildsystems/vcpkg.cmake +++ b/scripts/buildsystems/vcpkg.cmake @@ -223,6 +223,8 @@ macro(find_package name) add_library(tinyxml2 INTERFACE IMPORTED) set_target_properties(tinyxml2 PROPERTIES INTERFACE_LINK_LIBRARIES "tinyxml2_static") endif() + elseif("${name}" STREQUAL "HDF5") + _find_package(${ARGV} CONFIG) else() _find_package(${ARGV}) endif()