diff --git a/CMakeScripts/FindOpenBLAS.cmake b/CMakeScripts/FindOpenBLAS.cmake index 297a7b6b..b8434927 100644 --- a/CMakeScripts/FindOpenBLAS.cmake +++ b/CMakeScripts/FindOpenBLAS.cmake @@ -26,7 +26,7 @@ SET(Open_BLAS_LIB_SEARCH_PATHS $ENV{OpenBLAS_HOME}/lib ) -FIND_PATH(OpenBLAS_INCLUDE_DIR NAMES cblas.h PATHS ${ATLAS_POSSIBLE_INCLUDE_PATHS}) +FIND_PATH(OpenBLAS_INCLUDE_DIR NAMES cblas.h PATHS ${Open_BLAS_INCLUDE_SEARCH_PATHS}) FIND_LIBRARY(OpenBLAS_LIB NAMES openblas PATHS ${Open_BLAS_LIB_SEARCH_PATHS}) SET(OpenBLAS_FOUND ON)