File: cpprestsdk-config.in.cmake

package info (click to toggle)
cpprest 2.10.19-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,916 kB
  • sloc: cpp: 71,086; sh: 275; makefile: 170; javascript: 147
file content (25 lines) | stat: -rw-r--r-- 581 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
include(CMakeFindDependencyMacro)
if(@CPPREST_USES_ZLIB@)
  find_dependency(ZLIB)
endif()

if(@CPPREST_USES_BROTLI@)
  find_dependency(unofficial-brotli)
endif()

if(@CPPREST_USES_OPENSSL@)
  find_dependency(OpenSSL)
endif()

if(@CPPREST_USES_WINHTTPPAL@)
  find_dependency(WINHTTPPAL)
endif()

if(@CPPREST_USES_BOOST@)
  if(UNIX)
    find_dependency(Boost COMPONENTS random system thread filesystem chrono atomic date_time regex)
  else()
    find_dependency(Boost COMPONENTS system date_time regex)
  endif()
endif()
include("${CMAKE_CURRENT_LIST_DIR}/cpprestsdk-targets.cmake")