Allow configuration of Mbed TLS use.

This commit is contained in:
Matthew Albrecht 2020-01-07 14:39:32 -06:00 committed by GitHub
parent 925eb2f1d0
commit 42a9f91947
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,8 +113,11 @@ else()
list( APPEND IXWEBSOCKET_HEADERS ixwebsocket/IXSelectInterruptEventFd.h) list( APPEND IXWEBSOCKET_HEADERS ixwebsocket/IXSelectInterruptEventFd.h)
endif() endif()
option(USE_TLS "Enable TLS support" FALSE)
if (WIN32) if (WIN32)
set(USE_MBED_TLS TRUE) option(USE_MBED_TLS "Use Mbed TLS" TRUE)
else()
option(USE_MBED_TLS "Use Mbed TLS" FALSE)
endif() endif()
if (USE_TLS) if (USE_TLS)