Skip to content

Commit

Permalink
Use static VCPKG_CRT_LINKAGE on windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
bhartnett committed Dec 16, 2024
1 parent 012bac6 commit 9a57e93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion triplets/x64-windows-rocksdb.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ set(VCPKG_TARGET_ARCHITECTURE x64)
set(VCPKG_BUILD_TYPE release)

if(${PORT} MATCHES "snappy|zlib|lz4|zstd")
set(VCPKG_CRT_LINKAGE dynamic)
set(VCPKG_CRT_LINKAGE static)
set(VCPKG_LIBRARY_LINKAGE static)
else()
set(VCPKG_CRT_LINKAGE static)
Expand Down

0 comments on commit 9a57e93

Please sign in to comment.