vcpkg/ports/boringssl/usage
Henrik Gaßmann 7b30311f0a
[boringssl] Fix pkg-config & cmake find module compat (#31387)
* [boringssl] Fix find-module compatibility

OpenSSL libraries use a "d" postfix to differentiate debug and release
binaries. The cmake find-module mistakes the debug binary for the
release binary without the postfix.

Fix the package config generator logic which was completely broken
before: Remove linkage of Windows libraries for non-Windows targets and
remove the "lib" prefix only for msvc builds.

Harmonize the pkg-configs with the debug postfix.

Add usage instructions.

* [boringssl] Add new port version to database
2023-05-17 09:21:23 -07:00

4 lines
166 B
Plaintext

boringssl can be found via the built-in CMake find-module:
find_package(OpenSSL REQUIRED)
target_link_libraries(main PRIVATE OpenSSL::SSL OpenSSL::Crypto)