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 df92e6a..df20441 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -279,7 +279,7 @@ else() | |||
279 | set(OPENSSL_LIBS tls ssl crypto) | 279 | set(OPENSSL_LIBS tls ssl crypto) |
280 | endif() | 280 | endif() |
281 | 281 | ||
282 | if(CMAKE_HOST_WIN32) | 282 | if(WIN32) |
283 | set(OPENSSL_LIBS ${OPENSSL_LIBS} ws2_32) | 283 | set(OPENSSL_LIBS ${OPENSSL_LIBS} ws2_32) |
284 | endif() | 284 | endif() |
285 | if(CMAKE_SYSTEM_NAME MATCHES "Linux") | 285 | if(CMAKE_SYSTEM_NAME MATCHES "Linux") |