]> The Tcpdump Group git mirrors - tcpdump/blob - cmake/Modules/FindCRYPTO.cmake
Remove trailing spaces
[tcpdump] / cmake / Modules / FindCRYPTO.cmake
1 #
2 # Try to find libcrypto.
3 #
4
5 # Try to find the header
6 find_path(CRYPTO_INCLUDE_DIR openssl/crypto.h)
7
8 # Try to find the library
9 find_library(CRYPTO_LIBRARY crypto)
10
11 include(FindPackageHandleStandardArgs)
12 find_package_handle_standard_args(CRYPTO
13 DEFAULT_MSG
14 CRYPTO_INCLUDE_DIR
15 CRYPTO_LIBRARY
16 )
17
18 mark_as_advanced(
19 CRYPTO_INCLUDE_DIR
20 CRYPTO_LIBRARY
21 )
22
23 set(CRYPTO_INCLUDE_DIRS ${CRYPTO_INCLUDE_DIR})
24 set(CRYPTO_LIBRARIES ${CRYPTO_LIBRARY})