Skip to content

Commit 03b05e6

Browse files
authored
Update build_wheels_windows.yml
1 parent c80b56f commit 03b05e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build_wheels_windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +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'; $inc=$env:OpenBLAS_HOME + '/include'; $lib=$env:OpenBLAS_HOME + '/lib/libopenblas.lib'; (Get-Content $cfg -Raw) -replace 'SET\(OpenBLAS_INCLUDE_DIRS .*?\)', 'SET(OpenBLAS_INCLUDE_DIRS ' + $inc + ')' -replace 'SET\(OpenBLAS_LIBRARIES .*?\)', 'SET(OpenBLAS_LIBRARIES ' + $lib + ')' | Set-Content $cfg"
93-
92+
powershell -Command "$cfg='lib/cmake/openblas/OpenBLASConfig.cmake'; $inc=$env:OpenBLAS_HOME + '/include'; $lib=$env:OpenBLAS_HOME + '/lib/libopenblas.lib'; $content = Get-Content $cfg -Raw; $content = $content -replace 'SET\(OpenBLAS_INCLUDE_DIRS .*?\)', 'SET(OpenBLAS_INCLUDE_DIRS ' + $inc + ')'; $content = $content -replace 'SET\(OpenBLAS_LIBRARIES .*?\)', 'SET(OpenBLAS_LIBRARIES ' + $lib + ')'; Set-Content $cfg $content"
93+
9494
type D:\a\opencv-python\opencv-python\openblas\lib\cmake\openblas\OpenBLASConfig.cmake
9595
9696

0 commit comments

Comments
 (0)