Skip to content

Commit c5225bd

Browse files
authored
Merge pull request #342 from 1261385937/fix-openssl-link
2 parents af70fda + 1e3ccf3 commit c5225bd

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

tests/simple/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,7 @@ ADD_EXECUTABLE (simple-test
66
TARGET_LINK_LIBRARIES (simple-test
77
clickhouse-cpp-lib
88
)
9+
10+
IF (MSVC)
11+
TARGET_LINK_LIBRARIES (simple-test Crypt32)
12+
ENDIF()

ut/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,5 @@ TARGET_LINK_LIBRARIES (clickhouse-cpp-ut
4343

4444
IF (MSVC)
4545
TARGET_COMPILE_OPTIONS(clickhouse-cpp-ut PRIVATE /bigobj)
46+
TARGET_LINK_LIBRARIES (clickhouse-cpp-ut Crypt32)
4647
ENDIF()

0 commit comments

Comments
 (0)