From 42a9f919474c315a112102eb090ab4bf6fe01f79 Mon Sep 17 00:00:00 2001 From: Matthew Albrecht Date: Tue, 7 Jan 2020 14:39:32 -0600 Subject: [PATCH] Allow configuration of Mbed TLS use. --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 10b3301f..51528200 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -113,8 +113,11 @@ else() list( APPEND IXWEBSOCKET_HEADERS ixwebsocket/IXSelectInterruptEventFd.h) endif() +option(USE_TLS "Enable TLS support" FALSE) 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() if (USE_TLS)