vcpkg/ports/xtensor-io/disable-highfive.patch
Billy O'Neal 46a129decb
[xtensor-io] [taskflow] [tcl] [sophus] Fix CI 2020-09-06 (#13382)
* [xtensor-io] Disable undeclared HighFive detection which is currently broken.

HIGHFIVE 2.2.2: (Re)Detecting Highfive dependencies (HIGHFIVE_USE_INSTALL_DEPS=NO)
CMake Error: install(EXPORT "xtensor-io-targets" ...) includes target "xtensor-io" which requires target "libdeps" that is not in any export set.
CMake Error in CMakeLists.txt:
  export called with target "xtensor-io" which requires target "libdeps" that
  is not in any export set.

* [tcl] [taskflow] Mark passing in CI.
2020-09-07 14:14:47 -07:00

21 lines
619 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index c3595a1..d38dc21 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -136,6 +136,7 @@ else()
message(WARNING "ZLIB not found - install zlib for xnpz file support")
endif()
+if (0)
message(STATUS "Trying to find HighFive for npz file support")
find_package(HighFive)
find_package(HDF5)
@@ -154,6 +155,7 @@ if (${HighFive_FOUND} AND ${HDF5_FOUND})
else()
message(WARNING "HighFive and/or HDF5 not found - install HighFive and HDF5 for HDF5 file support")
endif()
+endif()
if(DOWNLOAD_GTEST OR GTEST_SRC_DIR)
set(BUILD_TESTS ON)