From 20c8953e5be87d1ebedbf9d3107a942d464b41d0 Mon Sep 17 00:00:00 2001 From: Benjamin Sergeant Date: Sun, 6 Jan 2019 14:21:49 -0800 Subject: [PATCH] remove openssl testing bits for apple build --- CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 81419813..9aea0bdf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,6 +48,7 @@ set( IXWEBSOCKET_HEADERS ixwebsocket/IXWebSocketPerMessageDeflateCodec.h ixwebsocket/IXWebSocketPerMessageDeflateOptions.h ixwebsocket/IXWebSocketHttpHeaders.h + ixwebsocket/libwshandshake.hpp ) # Platform specific code @@ -59,17 +60,12 @@ else() list( APPEND IXWEBSOCKET_SOURCES ixwebsocket/linux/IXSetThreadName_linux.cpp) endif() -set (OPENSSL_PREFIX /usr/local/opt/openssl) # Homebrew openssl -include_directories(ixwebsocket ${OPENSSL_PREFIX}/include) - if (USE_TLS) add_definitions(-DIXWEBSOCKET_USE_TLS) if (APPLE) list( APPEND IXWEBSOCKET_HEADERS ixwebsocket/IXSocketAppleSSL.h) list( APPEND IXWEBSOCKET_SOURCES ixwebsocket/IXSocketAppleSSL.cpp) - list( APPEND IXWEBSOCKET_HEADERS ixwebsocket/IXSocketOpenSSL.h) - list( APPEND IXWEBSOCKET_SOURCES ixwebsocket/IXSocketOpenSSL.cpp) elseif (WIN32) list( APPEND IXWEBSOCKET_HEADERS ixwebsocket/IXSocketSChannel.h) list( APPEND IXWEBSOCKET_SOURCES ixwebsocket/IXSocketSChannel.cpp)