Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8efd7aa

Browse filesBrowse files
authored
Merge pull request opencv#754 from asmorkalov/as/cmake_3.25_regression_win
Stick to CMake 3.24 on Windows to work around 3.25 regression
2 parents b7a1da7 + 0bff35d commit 8efd7aa
Copy full SHA for 8efd7aa

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed

‎.github/workflows/build_wheels_windows.yml

Copy file name to clipboardExpand all lines: .github/workflows/build_wheels_windows.yml
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,12 @@ jobs:
6060
- name: Setup MSBuild.exe
6161
uses: microsoft/setup-msbuild@v1.1
6262
- name: Build a package
63+
# CMake 3.25 regression fix. See https://stackoverflow.com/questions/74162633/problem-compiling-from-source-opencv-with-mvsc2019-in-64-bit-version
6364
run: |
6465
python --version
6566
python -m pip install --upgrade pip
6667
python -m pip install --upgrade setuptools
68+
python -m pip install cmake==3.24.2
6769
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
6870
set "CI_BUILD=1" && python setup.py bdist_wheel --py-limited-api=cp36 --dist-dir=%cd%\wheelhouse -v
6971
shell: cmd

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.