Skip to content

Commit

Permalink
windows: specify CMAKE_MSVC_RUNTIME_LIBRARY for LibreSSL
Browse files Browse the repository at this point in the history
Static builds otherwise fail in the same manner described by commit
26e792c.
  • Loading branch information
LDVG committed Dec 22, 2023
1 parent 8eaf661 commit 3cbeb7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions windows/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ try {
-DBUILD_SHARED_LIBS="${SHARED}" -DLIBRESSL_TESTS=OFF `
-DCMAKE_C_FLAGS_DEBUG="${CFLAGS_DEBUG}" `
-DCMAKE_C_FLAGS_RELEASE="${CFLAGS_RELEASE}" `
-DCMAKE_MSVC_RUNTIME_LIBRARY="${CMAKE_MSVC_RUNTIME_LIBRARY}" `
-DCMAKE_INSTALL_PREFIX="${PREFIX}" "${CMAKE_SYSTEM_VERSION}"; `
ExitOnError
& $CMake --build . --config ${Config} --verbose; ExitOnError
Expand Down

0 comments on commit 3cbeb7a

Please sign in to comment.