Made the cache feature secured in #ifdef block and added it to the http
example too
This commit is contained in:
parent
9492b942b9
commit
d4f5fddba3
3 changed files with 47 additions and 1 deletions
|
|
@ -29,6 +29,7 @@ target_link_libraries(http_examples ${CMAKE_THREAD_LIBS_INIT})
|
|||
find_package(OpenSSL)
|
||||
|
||||
if(OPENSSL_FOUND)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DHAVE_OPENSSL")
|
||||
include_directories(SYSTEM ${OPENSSL_INCLUDE_DIR})
|
||||
|
||||
add_executable(https_examples https_examples.cpp)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue