Skip to content

Commit 7e711f5

Browse files
authored
Update IXWebSocket.cmake
1 parent 5d7fa6f commit 7e711f5

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎modules/IXWebSocket.cmake‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ if(NOT DEFINED IXWEBSOCKET_TAG)
1212
endif()
1313

1414
include(Zlib-ng)
15-
include(OpenSSL)
16-
15+
if(NOT WIN32)
16+
include(OpenSSL)
17+
declare_option(REPOSITORY IXWebSocket OPTION USE_TLS VALUE OFF)
18+
endif()
1719
declare_option(REPOSITORY IXWebSocket OPTION USE_TLS VALUE ON)
1820
declare_option(REPOSITORY IXWebSocket OPTION USE_OPEN_SSL VALUE ON)
1921
declare_option(REPOSITORY IXWebSocket OPTION USE_ZLIB VALUE ON)

0 commit comments

Comments
 (0)