We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 543d4a9 + 66547a5 commit f2d6097Copy full SHA for f2d6097
CMakeLists.txt
@@ -42,8 +42,8 @@ message(STATUS "Building xtensor-io v${${PROJECT_NAME}_VERSION}")
42
# Dependencies
43
# ============
44
45
-find_package(xtensor 0.21.2 REQUIRED)
46
-find_package(xtl 0.6.9 REQUIRED)
+set (xtensor_REQUIRED_VERSION 0.21.9)
+find_package(xtensor ${xtensor_REQUIRED_VERSION} REQUIRED)
47
48
message(STATUS "Found xtensor: ${xtensor_INCLUDE_DIRS}/xtensor")
49
xtensor-ioConfig.cmake.in
@@ -16,6 +16,9 @@
16
17
@PACKAGE_INIT@
18
19
+include(CMakeFindDependencyMacro)
20
+find_dependency(xtensor @xtensor_REQUIRED_VERSION@)
21
+
22
set(PN xtensor_io)
23
set_and_check(${PN}_INCLUDE_DIRS "${PACKAGE_PREFIX_DIR}/@CMAKE_INSTALL_INCLUDEDIR@")
24
set(${PN}_LIBRARY "")
0 commit comments