oups forgot to link to openssl
This commit is contained in:
parent
d4f5fddba3
commit
36c2264bdc
1 changed files with 1 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ find_package(OpenSSL)
|
|||
|
||||
if(OPENSSL_FOUND)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DHAVE_OPENSSL")
|
||||
target_link_libraries(http_examples ${OPENSSL_LIBRARIES})
|
||||
include_directories(SYSTEM ${OPENSSL_INCLUDE_DIR})
|
||||
|
||||
add_executable(https_examples https_examples.cpp)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue