]> git.proxmox.com Git - ceph.git/blame - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/licensepp/FindCryptoPP.cmake
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / licensepp / FindCryptoPP.cmake
CommitLineData
1e59de90
TL
1find_path(CRYPTOPP_INCLUDE_DIRS NAMES cryptopp/cryptlib.h)
2
3get_filename_component(_prefix_path ${CRYPTOPP_INCLUDE_DIRS} PATH)
4
5find_library(
6 CRYPTOPP_LIBRARY_DEBUG
7 NAMES cryptopp-static cryptopp
8 PATHS ${_prefix_path}/debug/lib
9 NO_DEFAULT_PATH
10)
11find_library(
12 CRYPTOPP_LIBRARY_RELEASE
13 NAMES cryptopp-static cryptopp
14 PATHS ${_prefix_path}/lib
15 NO_DEFAULT_PATH
16)
17
18unset(_prefix_path)
19
20include(SelectLibraryConfigurations)
21select_library_configurations(CRYPTOPP)
22
23include(FindPackageHandleStandardArgs)
24find_package_handle_standard_args(
25 CryptoPP
26 REQUIRED_VARS CRYPTOPP_LIBRARIES CRYPTOPP_INCLUDE_DIRS
27)