File: TrantorConfig.cmake.in

package info (click to toggle)
trantor 1.5.24%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,076 kB
  • sloc: cpp: 17,042; sh: 42; makefile: 8
file content (37 lines) | stat: -rw-r--r-- 1,018 bytes parent folder | download | duplicates (2)
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
#[[
# - Config file for the Trantor package
# It defines the following variables
#  TRANTOR_INCLUDE_DIRS - include directories for Trantor
#  TRANTOR_LIBRARIES    - libraries to link against
#  Trantor_FOUND
# This module defines the following IMPORTED target:
# Trantor::Trantor
#]]

@PACKAGE_INIT@

include(CMakeFindDependencyMacro)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})
if(@OpenSSL_FOUND@)
  find_dependency(OpenSSL)
endif()
if(@Botan_FOUND@)
  find_dependency(Botan)
endif()
if(@c-ares_FOUND@)
  find_dependency(c-ares)
endif()
find_dependency(Threads)
if(@spdlog_FOUND@)
  find_dependency(spdlog)
endif()
# Compute paths

# Our library dependencies (contains definitions for IMPORTED targets)
get_filename_component(TRANTOR_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
if(NOT TARGET Trantor::Trantor)
  include("${TRANTOR_CMAKE_DIR}/TrantorTargets.cmake")
endif()

get_target_property(TRANTOR_INCLUDE_DIRS Trantor::Trantor INTERFACE_INCLUDE_DIRECTORIES)
set(TRANTOR_LIBRARIES Trantor::Trantor)