fix openssl cmake errors
This commit is contained in:
parent
a9f5d5353f
commit
fbe5e74109
@ -176,8 +176,8 @@ if (USE_TLS)
|
||||
endif()
|
||||
message(STATUS "OpenSSL: " ${OPENSSL_VERSION})
|
||||
|
||||
target_compile_definitions(ixwebsocket PUBLIC ${OPENSSL_DEFINITIONS})
|
||||
target_include_directories(${OPENSSL_INCLUDE_DIR})
|
||||
add_definitions(${OPENSSL_DEFINITIONS})
|
||||
target_include_directories(ixwebsocket PUBLIC ${OPENSSL_INCLUDE_DIR})
|
||||
target_link_libraries(ixwebsocket ${OPENSSL_LIBRARIES})
|
||||
elseif (USE_MBED_TLS)
|
||||
message(STATUS "TLS configured to use mbedtls")
|
||||
|
Loading…
Reference in New Issue
Block a user