Skip to content

Commit

Permalink
Use static OpenSSL for WIN
Browse files Browse the repository at this point in the history
  • Loading branch information
lmangani authored Jan 3, 2025
1 parent 43183ff commit 36704f6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions chsql/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ set(CH_CPP_WITH_OPENSSL ON CACHE BOOL "Use OpenSSL")
# Find OpenSSL package
find_package(OpenSSL REQUIRED)

if(MINGW)
set(OPENSSL_USE_STATIC_LIBS TRUE)
endif()

set(EXTENSION_NAME ${TARGET_NAME}_extension)
set(LOADABLE_EXTENSION_NAME ${TARGET_NAME}_loadable_extension)

Expand Down

0 comments on commit 36704f6

Please sign in to comment.