OpenSSL¶
hunter_add_package(OpenSSL)
find_package(OpenSSL REQUIRED)
target_link_libraries(foo OpenSSL::SSL OpenSSL::Crypto)
For backward compatibility:
hunter_add_package(OpenSSL)
find_package(OpenSSL REQUIRED)
include_directories("${OPENSSL_INCLUDE_DIR}")
target_link_libraries(... ${OPENSSL_LIBRARIES})
Bugs¶
Fixed/workaround¶
- space in path, related
- Can’t be build with
make -jN: https://github.com/ruslo/hunter/issues/87