-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathmultiplierConfig.cmake.in
39 lines (30 loc) · 1.09 KB
/
multiplierConfig.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
32
33
34
35
36
37
38
39
#
# Copyright (c) 2021-present, Trail of Bits, Inc.
#
# This source code is licensed in accordance with the terms specified in
# the LICENSE file found in the root directory of this source tree.
#
@PACKAGE_INIT@
include(CMakeFindDependencyMacro)
set(MX_INSTALL_LIB_DIR @MX_INSTALL_LIB_DIR@)
set(MX_INSTALL_BIN_DIR @MX_INSTALL_BIN_DIR@)
set(MX_INSTALL_INCLUDE_DIR @MX_INSTALL_INCLUDE_DIR@)
set(MX_INSTALL_SHARE_DIR @MX_INSTALL_SHARE_DIR@)
set(MX_ENABLE_RE2 @MX_ENABLE_RE2@)
set(MX_ENABLE_PYTHON_BINDINGS @MX_ENABLE_PYTHON_BINDINGS@)
if(NOT TARGET @PROJECT_NAME@::multiplier)
if(NOT TARGET Threads::Threads)
find_dependency(Threads REQUIRED)
endif()
if(NOT TARGET gap::gap)
find_dependency(gap CONFIG REQUIRED)
endif()
if(MX_ENABLE_PYTHON_BINDINGS AND NOT TARGET Python3::Python)
find_dependency(Python3 REQUIRED COMPONENTS Interpreter Development.Embed)
endif()
include("${CMAKE_CURRENT_LIST_DIR}/@[email protected]")
check_required_components("@PROJECT_NAME@")
endif()
if(NOT DEFINED MX_FIND_QUIETLY)
message(STATUS "Found Multiplier: ${CMAKE_CURRENT_LIST_DIR}")
endif()