...
This commit is contained in:
@@ -45,6 +45,12 @@ if (ASIO_LIBRARY)
|
||||
|
||||
add_compile_options(ASIO::ASIO)
|
||||
add_compile_definitions(PUBLIC USE_ASIO_LIBRARY)
|
||||
|
||||
option(OPENSSL_LIBRARY "Use openssl library for related ASIO-based implementation" ON)
|
||||
if (OPENSSL_LIBRARY)
|
||||
find_package(OpenSSL REQUIRED)
|
||||
add_compile_definitions(PUBLIC USE_OPENSSL_WITH_ASIO)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user