mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-21 20:27:52 +08:00
cb537a2aee
* [licensepp] Add new port
* [cryptopp-pem] Update to a newer version that will make lincensepp happy
* Revert "[cryptopp-pem] Update to a newer version that will make lincensepp happy"
This reverts commit 726e3ce3d2
.
This version can not compile with cryptopp.
* [licensepp] Finish it
* [licensepp] Fix interface include directory
* [licensepp] Fixup cmake targets
* [licensepp] -O3 is not recognised by msvc
* [licensepp] Fix _iterator_debug_level value mismatch
* [licensepp] Update patch file
* [licensepp] Fail fast on UWP
* [licensepp] Simplify patch file
* [licensepp] Tabs -> Spaces
28 lines
640 B
CMake
28 lines
640 B
CMake
find_path(CRYPTOPP_INCLUDE_DIRS NAMES cryptopp/cryptlib.h)
|
|
|
|
get_filename_component(_prefix_path ${CRYPTOPP_INCLUDE_DIRS} PATH)
|
|
|
|
find_library(
|
|
CRYPTOPP_LIBRARY_DEBUG
|
|
NAMES cryptopp-static cryptopp
|
|
PATHS ${_prefix_path}/debug/lib
|
|
NO_DEFAULT_PATH
|
|
)
|
|
find_library(
|
|
CRYPTOPP_LIBRARY_RELEASE
|
|
NAMES cryptopp-static cryptopp
|
|
PATHS ${_prefix_path}/lib
|
|
NO_DEFAULT_PATH
|
|
)
|
|
|
|
unset(_prefix_path)
|
|
|
|
include(SelectLibraryConfigurations)
|
|
select_library_configurations(CRYPTOPP)
|
|
|
|
include(FindPackageHandleStandardArgs)
|
|
find_package_handle_standard_args(
|
|
CryptoPP
|
|
REQUIRED_VARS CRYPTOPP_LIBRARIES CRYPTOPP_INCLUDE_DIRS
|
|
)
|