Handle both HTTP & HTTPS in HttpClientSession; remove macro WEBCC_ENABLE_SSL.
This commit is contained in:
@@ -1,10 +1,2 @@
|
||||
add_executable(http_ssl_client main.cc)
|
||||
|
||||
set(SSL_LIBS ${OPENSSL_LIBRARIES})
|
||||
if(WIN32)
|
||||
set(SSL_LIBS ${SSL_LIBS} crypt32)
|
||||
endif()
|
||||
|
||||
target_link_libraries(http_ssl_client webcc ${Boost_LIBRARIES})
|
||||
target_link_libraries(http_ssl_client "${CMAKE_THREAD_LIBS_INIT}")
|
||||
target_link_libraries(http_ssl_client ${SSL_LIBS})
|
||||
target_link_libraries(http_ssl_client ${EXAMPLE_COMMON_LIBS})
|
||||
|
||||
Reference in New Issue
Block a user