File: FindCrypto.cmake

package info (click to toggle)
performous 1.1%2Bgit20181118-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 11,752 kB
  • sloc: cpp: 30,014; ansic: 2,751; sh: 801; xml: 464; python: 374; makefile: 29
file content (14 lines) | stat: -rw-r--r-- 483 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# - Try to find Crypto
# Once done, this will define
#
#  Crypto_FOUND - system has Crypto
#  Crypto_INCLUDE_DIRS - the Crypto include directories
#  Crypto_LIBRARIES - link these to use Crypto
#
# See documentation on how to write CMake scripts at
# http://www.cmake.org/Wiki/CMake:How_To_Find_Libraries

include(LibFindMacros)
libfind_pkg_detect(Crypto libcrypto FIND_PATH openssl/crypto.h FIND_LIBRARY crypto)
set(Crypto_VERSION ${Crypto_PKGCONF_VERSION})
libfind_process(Crypto)