aboutsummaryrefslogtreecommitdiff
path: root/LAPACKE
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 /LAPACKE
parent40a3b2fb153ab14ba4d5b51d6dbe1ec12f1578e9 (diff)
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 'LAPACKE')
-rw-r--r--LAPACKE/cmake/lapacke-config-build.cmake.in4
1 files changed, 2 insertions, 2 deletions
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)