File: c-ares-config.cmake.in

package info (click to toggle)
c-ares 1.17.1-1%2Bdeb11u3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 8,272 kB
  • sloc: cpp: 39,065; ansic: 25,077; sh: 4,256; makefile: 129; perl: 48; awk: 18
file content (21 lines) | stat: -rw-r--r-- 725 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@PACKAGE_INIT@

set_and_check(c-ares_INCLUDE_DIR "@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@")

include("${CMAKE_CURRENT_LIST_DIR}/c-ares-config-version.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/c-ares-targets.cmake")

set(c-ares_LIBRARY c-ares::cares)

if(@CARES_SHARED@)
	add_library(c-ares::cares_shared INTERFACE IMPORTED)
	set_target_properties(c-ares::cares_shared PROPERTIES INTERFACE_LINK_LIBRARIES "c-ares::cares")
	set(c-ares_SHARED_LIBRARY c-ares::cares_shared)
elseif(@CARES_STATIC@)
	add_library(c-ares::cares_static INTERFACE IMPORTED)
	set_target_properties(c-ares::cares_static PROPERTIES INTERFACE_LINK_LIBRARIES "c-ares::cares")
endif()

if(@CARES_STATIC@)
	set(c-ares_STATIC_LIBRARY c-ares::cares_static)
endif()