added path to correct directory containing headers (#110063)

After make install the headers are placed in include/openblas/ folder instead of include/ folder. Updated FindOpenBLAS.cmake to make that change clear.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/110063
Approved by: https://github.com/Blackhex, https://github.com/kit1980
This commit is contained in:
Alin Pahontu
2023-10-04 21:56:32 +00:00
committed by PyTorch MergeBot
parent 6fc09aee36
commit 21d77bcf80

View File

@ -11,6 +11,7 @@ SET(Open_BLAS_INCLUDE_SEARCH_PATHS
/opt/OpenBLAS/include /opt/OpenBLAS/include
$ENV{OpenBLAS_HOME} $ENV{OpenBLAS_HOME}
$ENV{OpenBLAS_HOME}/include $ENV{OpenBLAS_HOME}/include
$ENV{OpenBLAS_HOME}/include/openblas
) )
SET(Open_BLAS_LIB_SEARCH_PATHS SET(Open_BLAS_LIB_SEARCH_PATHS