Skip to content

Commit 5ba94f0

Browse files
committed
Native: OpenBLAS lib directory via OPENBLASPATH environment variable
1 parent 19fd215 commit 5ba94f0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/NativeProviders/Windows/OpenBLAS/OpenBLASWrapper.vcxproj

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,10 @@
6262
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
6363
</ImportGroup>
6464
<PropertyGroup Label="UserMacros">
65-
<OpenBLASIncludeDir>$(ProjectDir)..\..\..\..\..\libs\OpenBLAS\include\</OpenBLASIncludeDir>
66-
<OpenBLASLibDir>$(ProjectDir)..\..\..\..\..\libs\OpenBLAS\x86\</OpenBLASLibDir>
67-
<OpenBLASLibDir_x64>$(ProjectDir)..\..\..\..\..\libs\OpenBLAS\x64\</OpenBLASLibDir_x64>
65+
<OpenBlasPath Condition="'$(OPENBLASPATH)' == ''">$(ProjectDir)..\..\..\..\..\libs\OpenBLAS</OpenBlasPath>
66+
<OpenBLASIncludeDir>$(OpenBlasPath)\include\</OpenBLASIncludeDir>
67+
<OpenBLASLibDir>$(OpenBlasPath)\x86\</OpenBLASLibDir>
68+
<OpenBLASLibDir_x64>$(OpenBlasPath)\x64\</OpenBLASLibDir_x64>
6869
</PropertyGroup>
6970
<PropertyGroup>
7071
<_ProjectFileVersion>11.0.50727.1</_ProjectFileVersion>

0 commit comments

Comments
 (0)