Skip to content

Commit

Permalink
Enable EHsc explicitly when using ClangCL due to it being default tur…
Browse files Browse the repository at this point in the history
…ned-off
  • Loading branch information
Naville committed Aug 13, 2024
1 parent 6ecce4c commit 152cfda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/msvc-static-build-clang-cl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ jobs:

- name: Build
run: |
cmake -B build -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} -DZ3_BUILD_LIBZ3_SHARED=OFF -DZ3_BUILD_LIBZ3_MSVC_STATIC=ON -T ClangCL
cmake -B build -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} -DZ3_BUILD_LIBZ3_SHARED=OFF -DZ3_BUILD_LIBZ3_MSVC_STATIC=ON -T ClangCL -DCMAKE_C_FLAGS_INIT="/EHsc" -DCMAKE_CXX_FLAGS_INIT="/EHsc"
cmake --build build --config ${{ env.BUILD_TYPE }} --parallel

0 comments on commit 152cfda

Please sign in to comment.