-
Notifications
You must be signed in to change notification settings - Fork 261
/
xsimdConfig.cmake.in
29 lines (25 loc) · 1.31 KB
/
xsimdConfig.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
############################################################################
# Copyright (c) Johan Mabille, Sylvain Corlay, Wolf Vollprecht and #
# Martin Renou #
# 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. #
############################################################################
# xsimd cmake module
# This module sets the following variables in your project::
#
# xsimd_FOUND - true if xsimd found on the system
# xsimd_INCLUDE_DIRS - the directory containing xsimd headers
# xsimd_LIBRARY - empty
@PACKAGE_INIT@
if(NOT TARGET @PROJECT_NAME@)
set(@PROJECT_NAME@_ENABLE_XTL_COMPLEX @ENABLE_XTL_COMPLEX@)
if(@PROJECT_NAME@_ENABLE_XTL_COMPLEX)
include(CMakeFindDependencyMacro)
find_dependency(xtl REQUIRED)
endif()
include("${CMAKE_CURRENT_LIST_DIR}/@[email protected]")
get_target_property(@PROJECT_NAME@_INCLUDE_DIRS @PROJECT_NAME@ INTERFACE_INCLUDE_DIRECTORIES)
endif()