-
Notifications
You must be signed in to change notification settings - Fork 10
/
xtensor-zarrConfig.cmake.in
31 lines (26 loc) · 1.33 KB
/
xtensor-zarrConfig.cmake.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
############################################################################
# Copyright (c) Wolf Vollprecht, Johan Mabille, and Sylvain Corlay #
# Copyright (c) QuantStack #
# #
# Distributed under the terms of the BSD 3-Clause License. #
# #
# The full license is in the file LICENSE, distributed with this software. #
############################################################################
# xtensor cmake module
# This module sets the following variables in your project::
#
# xtensor_zarr_FOUND - true if xtensor found on the system
# xtensor_zarr_INCLUDE_DIRS - the directory containing xtensor headers
# xtensor_zarr_LIBRARY - empty
@PACKAGE_INIT@
include(CMakeFindDependencyMacro)
find_dependency(xtensor-io @xtensor_io_REQUIRED_VERSION@)
find_dependency(zarray @zarray_REQUIRED_VERSION@)
find_dependency(nlohmann_json @nlohmann_json_REQUIRED_VERSION@)
set(PN xtensor_zarr)
set_and_check(${PN}_INCLUDE_DIRS "${PACKAGE_PREFIX_DIR}/@CMAKE_INSTALL_INCLUDEDIR@")
set(${PN}_LIBRARY "")
check_required_components(${PN})
if(NOT TARGET @PROJECT_NAME@)
include("${CMAKE_CURRENT_LIST_DIR}/@[email protected]")
endif()