File: FindCppRest.cmake

package info (click to toggle)
performous 1.3.0%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 13,932 kB
  • sloc: cpp: 35,814; sh: 925; python: 626; xml: 480; makefile: 37
file content (17 lines) | stat: -rw-r--r-- 546 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# - Try to find cpprest
# Once done, this will define
#
#  CppRest_FOUND - system has CppRest
#  CppRest_INCLUDE_DIRS - the CppRest include directories
#  CppRest_LIBRARIES - link these to use CppRest
#
# See documentation on how to write CMake scripts at
# http://www.cmake.org/Wiki/CMake:How_To_Find_Libraries

include(LibFindMacros)

libfind_package(CppRest OpenSSL)

libfind_pkg_detect(CppRest cpprest FIND_PATH http_client.h PATH_SUFFIXES cpprest FIND_LIBRARY cpprest)
set(CppRest_VERSION ${CppRest_PKGCONF_VERSION})
libfind_process(CppRest)