Skip to content

Commit

Permalink
statically link msvcp on Windows
Browse files Browse the repository at this point in the history
avoids conflicts
  • Loading branch information
minrk committed Aug 16, 2024
1 parent f6dd539 commit 516eea0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,11 @@ repair-wheel-command = """\
--wheel-dir={dest_dir} \
{wheel} \
"""
[tool.cibuildwheel.windows.config-settings]
# statically link MSVCP
# see https://github.com/zeromq/pyzmq/issues/2012
# and https://github.com/matplotlib/matplotlib/pull/28687
--build-option = "-Dcmake_args=-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded"

[tool.cibuildwheel.windows.environment]
ZMQ_PREFIX = "bundled"
Expand Down

0 comments on commit 516eea0

Please sign in to comment.