aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2018-02-05 17:50:16 -0800
committerRobert Schumacher <roschuma@microsoft.com>2018-02-05 17:50:16 -0800
commitd385e296a6929bcf7e86eda925376e0cabce6fd4 (patch)
treee2b226a2a6b17f247decd49b0d1715bcdd8aec0c /scripts
parent8d4d3087143b068b745746699407e67bfbae993e (diff)
downloadvcpkg-d385e296a6929bcf7e86eda925376e0cabce6fd4.tar.gz
vcpkg-d385e296a6929bcf7e86eda925376e0cabce6fd4.zip
[hdf5] Always use config mode for HDF5
Diffstat (limited to 'scripts')
-rw-r--r--scripts/buildsystems/vcpkg.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/buildsystems/vcpkg.cmake b/scripts/buildsystems/vcpkg.cmake
index 8ee21d411..76d77a0b5 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()