Skip to content

Commit 6b2f656

Browse files
committed
BUG: Fix pathing to include files
During building of external packages, only the build tree or install tree files should be used (the source tree may not be available from the binary package). Set to use the build tree locations for the configuration files.
1 parent 40a3b2f commit 6b2f656

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

CBLAS/cmake/cblas-config-build.cmake.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ if(NOT TARGET lapacke)
77
include("@LAPACK_BINARY_DIR@/lapack-targets.cmake")
88
endif()
99

10-
# Report lapacke header search locations.
11-
set(CBLAS_INCLUDE_DIRS "@LAPACK_SOURCE_DIR@/cblas/include")
10+
# Report cblas header search locations from build tree.
11+
set(CBLAS_INCLUDE_DIRS "@LAPACK_BINARY_DIR@/include")
1212

13-
# Report lapacke libraries.
13+
# Report cblas libraries.
1414
set(CBLAS_LIBRARIES cblas)

LAPACKE/cmake/lapacke-config-build.cmake.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ if(NOT TARGET lapacke)
77
include("@LAPACK_BINARY_DIR@/lapack-targets.cmake")
88
endif()
99

10-
# Report lapacke header search locations.
11-
set(LAPACKE_INCLUDE_DIRS "@LAPACK_SOURCE_DIR@/lapacke/include")
10+
# Report lapacke header search locations from build tree.
11+
set(LAPACKE_INCLUDE_DIRS "@LAPACK_BINARY_DIR@/include")
1212

1313
# Report lapacke libraries.
1414
set(LAPACKE_LIBRARIES lapacke)

0 commit comments

Comments
 (0)