Skip to content

Commit 30b73ee

Browse files
author
Haonan
committed
Also include the path already set for CBLAS_INC_DIR
1 parent a621a9b commit 30b73ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/cblas.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ if(ATLAS_INC_DIR AND ATLAS_CBLAS_LIB AND ATLAS_LIB AND NOT CBLAS_FOUND)
8181
set(CBLAS_FOUND ON)
8282
if(ATLAS_CLAPACK_INC_DIR)
8383
add_definitions(-DPADDLE_USE_LAPACK)
84-
set(CBLAS_INC_DIR ${ATLAS_CLAPACK_INC_DIR})
84+
set(CBLAS_INC_DIR ${CBLAS_INC_DIR} ${ATLAS_CLAPACK_INC_DIR})
8585
message(STATUS "Found lapack in ATLAS (include: ${ATLAS_CLAPACK_INC_DIR})")
8686
endif()
8787
return()

0 commit comments

Comments
 (0)