mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
cmake: fix compilation with OpenSSL subproject
https://github.com/warmcat/libwebsockets/pull/2535
This commit is contained in:
parent
7e841130e0
commit
133063fc68
1 changed files with 4 additions and 0 deletions
|
@ -254,6 +254,10 @@ if (LWS_WITH_SSL)
|
|||
endif()
|
||||
|
||||
if (NOT chose_ssl)
|
||||
if (OPENSSL_FOUND AND "${OPENSSL_INCLUDE_DIRS}" STREQUAL "")
|
||||
set(OPENSSL_INCLUDE_DIRS "${OPENSSL_INCLUDE_DIR}")
|
||||
endif()
|
||||
|
||||
if (NOT OPENSSL_FOUND AND NOT LWS_WITH_BORINGSSL)
|
||||
# TODO: Add support for STATIC also.
|
||||
if (NOT LWS_PLAT_FREERTOS)
|
||||
|
|
Loading…
Add table
Reference in a new issue