Skip to content

Commit

Permalink
try setting MSVC_VERSION 143
Browse files Browse the repository at this point in the history
  • Loading branch information
minrk committed Feb 15, 2024
1 parent 3d4e3af commit 5a81f42
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@ if (ZMQ_PREFIX STREQUAL "bundled")
if(${bundled_libsodium_POPULATED} AND NOT EXISTS "${libsodium_lib}")
message(STATUS "building bundled libsodium")
if (MSVC)
set(LIBSODIUM_MSVC_VERSION "143" CACHE STRING "MSVC version to build libsodium")
set(MSCV_VERSION ${LIBSODIUM_MSVC_VERSION})
find_package(Vcvars REQUIRED)
# TODO: allow picking msvc build?
list(APPEND libsodium_build
Expand Down

0 comments on commit 5a81f42

Please sign in to comment.