Skip to content

Commit c2ff8c9

Browse files
committed
Stick to CMake 3.24 on Windows to work around 3.25 regression.
1 parent 3725898 commit c2ff8c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build_wheels_windows.yml

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ jobs:
6464
python --version
6565
python -m pip install --upgrade pip
6666
python -m pip install --upgrade setuptools
67+
python -m pip install cmake==3.24.0 # CMake 3.25 regression fix. See https://stackoverflow.com/questions/74162633/problem-compiling-from-source-opencv-with-mvsc2019-in-64-bit-version
6768
python -m pip install toml && python -c "import toml; c = toml.load('pyproject.toml'); print('\n'.join(c['build-system']['requires']))" >> requirements.txt | python -m pip install -r requirements.txt
6869
set "CI_BUILD=1" && python setup.py bdist_wheel --py-limited-api=cp36 --dist-dir=%cd%\wheelhouse -v
6970
shell: cmd

0 commit comments

Comments
 (0)