Fixed CMake script of FindOpenBLAS.
authorZhiHeng NIU <niuzhiheng@gmail.com>
Mon, 8 Sep 2014 06:46:43 +0000 (14:46 +0800)
committerZhiHeng NIU <niuzhiheng@gmail.com>
Mon, 8 Sep 2014 06:46:43 +0000 (14:46 +0800)
CMakeScripts/FindOpenBLAS.cmake

index 297a7b6..b843492 100644 (file)
@@ -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)