diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7e13ed7..a67405a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -280,7 +280,7 @@ else() | |||
280 | set(OPENSSL_LIBS tls ssl crypto) | 280 | set(OPENSSL_LIBS tls ssl crypto) |
281 | endif() | 281 | endif() |
282 | 282 | ||
283 | if(CMAKE_HOST_WIN32) | 283 | if(WIN32) |
284 | set(OPENSSL_LIBS ${OPENSSL_LIBS} ws2_32) | 284 | set(OPENSSL_LIBS ${OPENSSL_LIBS} ws2_32) |
285 | endif() | 285 | endif() |
286 | if(CMAKE_SYSTEM_NAME MATCHES "Linux") | 286 | if(CMAKE_SYSTEM_NAME MATCHES "Linux") |