aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CBLAS/cmake/cblas-config-build.cmake.in6
-rw-r--r--LAPACKE/cmake/lapacke-config-build.cmake.in4
2 files changed, 5 insertions, 5 deletions
diff --git a/CBLAS/cmake/cblas-config-build.cmake.in b/CBLAS/cmake/cblas-config-build.cmake.in
index 5449c12b..3747f041 100644
--- a/CBLAS/cmake/cblas-config-build.cmake.in
+++ b/CBLAS/cmake/cblas-config-build.cmake.in
@@ -7,8 +7,8 @@ if(NOT TARGET lapacke)
include("@LAPACK_BINARY_DIR@/lapack-targets.cmake")
endif()
-# Report lapacke header search locations.
-set(CBLAS_INCLUDE_DIRS "@LAPACK_SOURCE_DIR@/cblas/include")
+# Report cblas header search locations from build tree.
+set(CBLAS_INCLUDE_DIRS "@LAPACK_BINARY_DIR@/include")
-# Report lapacke libraries.
+# Report cblas libraries.
set(CBLAS_LIBRARIES cblas)
diff --git a/LAPACKE/cmake/lapacke-config-build.cmake.in b/LAPACKE/cmake/lapacke-config-build.cmake.in
index eaf71f81..6900f453 100644
--- a/LAPACKE/cmake/lapacke-config-build.cmake.in
+++ b/LAPACKE/cmake/lapacke-config-build.cmake.in
@@ -7,8 +7,8 @@ if(NOT TARGET lapacke)
include("@LAPACK_BINARY_DIR@/lapack-targets.cmake")
endif()
-# Report lapacke header search locations.
-set(LAPACKE_INCLUDE_DIRS "@LAPACK_SOURCE_DIR@/lapacke/include")
+# Report lapacke header search locations from build tree.
+set(LAPACKE_INCLUDE_DIRS "@LAPACK_BINARY_DIR@/include")
# Report lapacke libraries.
set(LAPACKE_LIBRARIES lapacke)