- powershell -Command "$base=Resolve-Path .; $fullInclude=($fullIncludePath=Join-Path $base 'include') -replace '\\','/'; $fullLib=($fullLibPath=Join-Path $base 'bin/libopenblas.dll') -replace '\\','/'; $cfg='lib/cmake/openblas/OpenBLASConfig.cmake'; $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"
0 commit comments