From 30b73ee397e171ee0e13446c9c3673742e0ab793 Mon Sep 17 00:00:00 2001 From: Haonan Date: Tue, 2 May 2017 13:55:33 -0700 Subject: [PATCH] Also include the path already set for CBLAS_INC_DIR --- cmake/cblas.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/cblas.cmake b/cmake/cblas.cmake index fc083242c..aebb5d9fc 100644 --- a/cmake/cblas.cmake +++ b/cmake/cblas.cmake @@ -81,7 +81,7 @@ if(ATLAS_INC_DIR AND ATLAS_CBLAS_LIB AND ATLAS_LIB AND NOT CBLAS_FOUND) set(CBLAS_FOUND ON) if(ATLAS_CLAPACK_INC_DIR) add_definitions(-DPADDLE_USE_LAPACK) - set(CBLAS_INC_DIR ${ATLAS_CLAPACK_INC_DIR}) + set(CBLAS_INC_DIR ${CBLAS_INC_DIR} ${ATLAS_CLAPACK_INC_DIR}) message(STATUS "Found lapack in ATLAS (include: ${ATLAS_CLAPACK_INC_DIR})") endif() return() -- GitLab