Skip to content

Commit

Permalink
Switch C runtime library on Windows to match BoringSSL.
Browse files Browse the repository at this point in the history
Should fix CI on Windows.

Should probably also review the rest of the MSVC flags as
they haven't been touched for years.
  • Loading branch information
prbprbprb committed Sep 16, 2024
1 parent 8c83e36 commit d7e623c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ jobs:
& $Env:GITHUB_WORKSPACE\.github\workflows\vsenv.ps1 -arch x64 -hostArch x64
mkdir build64
pushd build64
cmake -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS_RELEASE=/MT -DCMAKE_CXX_FLAGS_RELEASE=/MT -GNinja ..
cmake -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE -DCMAKE_BUILD_TYPE=Release -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded -GNinja ..
ninja
popd
Expand Down

0 comments on commit d7e623c

Please sign in to comment.