Skip to content

Commit 796142a

Browse files
authored
Update build_wheels_windows.yml
1 parent 067d7f3 commit 796142a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build_wheels_windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
9090
set "OpenBLAS_HOME=%CD%"
9191
set "PATH=%OpenBLAS_HOME%\bin;%PATH%"
92-
powershell -Command "$base = Resolve-Path .; $cfg = 'lib/cmake/openblas/OpenBLASConfig.cmake'; $fullInclude = (Join-Path $base 'include').Replace('\','/'); $fullLib = (Join-Path $base 'bin/libopenblas.dll').Replace('\','/'); $content = Get-Content $cfg; $content = $content -replace 'SET\(OpenBLAS_INCLUDE_DIRS.*?\)', 'SET(OpenBLAS_INCLUDE_DIRS \"' + $fullInclude + '\")'; $content = $content -replace 'SET\(OpenBLAS_LIBRARIES.*?\)', 'SET(OpenBLAS_LIBRARIES \"' + $fullLib + '\")'; Set-Content $cfg $content"
92+
powershell -Command "$base=Resolve-Path .; $cfg='lib/cmake/openblas/OpenBLASConfig.cmake'; $fullInclude=(Join-Path $base 'include').Replace('\','\\'); $fullLib=(Join-Path $base 'bin\\libopenblas.dll').Replace('\','\\'); $content=Get-Content $cfg -Raw; $content=$content -replace 'SET\(OpenBLAS_INCLUDE_DIRS.*?\)', 'SET(OpenBLAS_INCLUDE_DIRS \"' + $fullInclude + '\")'; $content=$content -replace 'SET\(OpenBLAS_LIBRARIES.*?\)', 'SET(OpenBLAS_LIBRARIES \"' + $fullLib + '\")'; Set-Content $cfg $content"
9393
type D:\a\opencv-python\opencv-python\openblas\lib\cmake\openblas\OpenBLASConfig.cmake
9494
9595

0 commit comments

Comments
 (0)