forked from mamba-org/powerloader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpowerloaderConfig.cmake.in
40 lines (32 loc) · 1.59 KB
/
powerloaderConfig.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
40
############################################################################
# Copyright (c) 2019, QuantStack and Mamba Contributors #
# #
# Distributed under the terms of the BSD 3-Clause License. #
# #
# The full license is in the file LICENSE, distributed with this software. #
############################################################################
# powerloader cmake module
# This module sets the following variables in your project::
#
# libpowerloader_FOUND - true if powerloader found on the system
# libpowerloader_INCLUDE_DIRS - the directory containing powerloader headers
# libpowerloader_LIBRARY - the library for dynamic linking
# libpowerloader_STATIC_LIBRARY - the library for static linking
# libpowerloader_FULL_STATIC_LIBRARY - the library for static linking, incl. static deps
@PACKAGE_INIT@
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR};${CMAKE_MODULE_PATH}")
@POWERLOADER_CONFIG_CODE@
include(CMakeFindDependencyMacro)
find_dependency(CURL)
find_dependency(OpenSSL)
find_dependency(CLI11)
find_dependency(yaml-cpp)
find_dependency(tl-expected)
find_dependency(spdlog)
if(NOT TARGET libpowerloader)
include("${CMAKE_CURRENT_LIST_DIR}/@[email protected]")
if (TARGET libpowerloader)
get_target_property(@PROJECT_NAME@_INCLUDE_DIR libpowerloader INTERFACE_INCLUDE_DIRECTORIES)
get_target_property(@PROJECT_NAME@_LIBRARY libpowerloader LOCATION)
endif ()
endif()