Skip to content

Commit b7c288e

Browse files
authored
Update build_wheels_windows.yml
1 parent 1fe589c commit b7c288e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build_wheels_windows.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ jobs:
8989
9090
set "OpenBLAS_HOME=%CD%"
9191
set "PATH=%OpenBLAS_HOME%\bin;%PATH%"
92-
powershell -Command "$cfg='lib/cmake/openblas/OpenBLASConfig.cmake'; $includePath='D:/a/opencv-python/opencv-python/openblas/include'; $libPath='D:/a/opencv-python/opencv-python/openblas/bin/libopenblas.dll'; (Get-Content $cfg -Raw) -replace 'SET\\(OpenBLAS_INCLUDE_DIRS.*?\\)', 'SET(OpenBLAS_INCLUDE_DIRS \"' + $includePath + '\")' -replace 'SET\\(OpenBLAS_LIBRARIES.*?\\)', 'SET(OpenBLAS_LIBRARIES \"' + $libPath + '\")' | Set-Content $cfg"
92+
powershell -Command "(Get-Content lib/cmake/openblas/OpenBLASConfig.cmake) -replace 'win32/include', 'D:/a/opencv-python/opencv-python/openblas/include' -replace 'win64/include', 'D:/a/opencv-python/opencv-python/openblas/include' -replace 'win32/bin', 'D:/a/opencv-python/opencv-python/openblas/bin' -replace 'win64/bin', 'D:/a/opencv-python/opencv-python/openblas/bin' | Set-Content lib/cmake/openblas/OpenBLASConfig.cmake"
93+
9394
type D:\a\opencv-python\opencv-python\openblas\lib\cmake\openblas\OpenBLASConfig.cmake
9495
9596

0 commit comments

Comments
 (0)