vcpkg/ports/openssl/usage

6 lines
195 B
Plaintext
Raw Normal View History

openssl is compatible with built-in CMake targets:
2018-07-18 07:51:27 +08:00
find_package(OpenSSL REQUIRED)
target_link_libraries(main PRIVATE OpenSSL::SSL)
target_link_libraries(main PRIVATE OpenSSL::Crypto)