Skip to content

Commit

Permalink
checkpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
minrk committed Feb 15, 2024
1 parent 4612974 commit 45e67dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -188,14 +188,15 @@ if (ZMQ_PREFIX STREQUAL "bundled")
message(FATAL_ERROR "unsupported bundling libsodium for MSVC_VERSION=${MSVC_VERSION} (need at least VS2017)")
endif()
find_package(Vcvars REQUIRED)
message(STATUS "MSVC_VERSION ${MSVC_VERSION} ${VS_VERSION} ${Vcvars_MSVC_VERSION}")
list(APPEND libsodium_build
${Vcvars_LAUNCHER}
"msbuild"
"/m"
"/v:n"
"/p:Configuration=Static${CMAKE_BUILD_TYPE}"
"/p:Platform=${CMAKE_GENERATOR_PLATFORM}"
"builds/msvc/vs${VS_VERSON}/libsodium.sln"
"builds/msvc/vs${VS_VERSION}/libsodium.sln"
)
execute_process(
COMMAND ${libsodium_build}
Expand Down

0 comments on commit 45e67dc

Please sign in to comment.