fix compilation with OPENSSL_LIBRARY=0
This commit is contained in:
@@ -172,7 +172,9 @@ if (BUILD_TESTS)
|
||||
|
||||
set(NETSERVICE_TEST_APP adc_netservice_test)
|
||||
add_executable(${NETSERVICE_TEST_APP} tests/adc_netservice_test.cpp)
|
||||
target_link_libraries(${NETSERVICE_TEST_APP} OpenSSL::SSL OpenSSL::Crypto)
|
||||
if (OPENSSL_LIBRARY)
|
||||
target_link_libraries(${NETSERVICE_TEST_APP} OpenSSL::SSL OpenSSL::Crypto)
|
||||
endif()
|
||||
|
||||
if (ASIO_LIBRARY)
|
||||
find_package(cxxopts CONFIG)
|
||||
|
||||
Reference in New Issue
Block a user