summaryrefslogtreecommitdiff
path: root/CBLAS
diff options
context:
space:
mode:
authorHans Johnson <hans-johnson@uiowa.edu>2016-07-05 15:19:42 -0500
committerHans Johnson <hans-johnson@uiowa.edu>2016-07-05 15:26:45 -0500
commit6b2f6561e4d179b06d69bb8bf88f7e8131e3ded3 (patch)
treee4e7433597f54e7dda5d2b7223812815f7436f99 /CBLAS
parent40a3b2fb153ab14ba4d5b51d6dbe1ec12f1578e9 (diff)
downloadlapack-6b2f6561e4d179b06d69bb8bf88f7e8131e3ded3.tar.gz
lapack-6b2f6561e4d179b06d69bb8bf88f7e8131e3ded3.tar.bz2
lapack-6b2f6561e4d179b06d69bb8bf88f7e8131e3ded3.zip
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.
Diffstat (limited to 'CBLAS')
-rw-r--r--CBLAS/cmake/cblas-config-build.cmake.in6
1 files changed, 3 insertions, 3 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)