Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix link error with openssl(static) on windows
  • Loading branch information
1261385937 committed Oct 27, 2023
commit 1e3ccf3aa9fc55c87c1a840e94c1acb42bb0af65
4 changes: 4 additions & 0 deletions tests/simple/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ ADD_EXECUTABLE (simple-test
TARGET_LINK_LIBRARIES (simple-test
clickhouse-cpp-lib
)

IF (MSVC)
TARGET_LINK_LIBRARIES (simple-test Crypt32)
ENDIF()
1 change: 1 addition & 0 deletions ut/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,5 @@ TARGET_LINK_LIBRARIES (clickhouse-cpp-ut

IF (MSVC)
TARGET_COMPILE_OPTIONS(clickhouse-cpp-ut PRIVATE /bigobj)
TARGET_LINK_LIBRARIES (clickhouse-cpp-ut Crypt32)
ENDIF()