1 From 9dfac0d55a31be59a856bad9d3a5071d65176597 Mon Sep 17 00:00:00 2001
2 From: Samuel Martin <s.martin49@gmail.com>
3 Date: Sat, 11 Jan 2014 21:49:22 +0100
4 Subject: [PATCH 5/6] cmake: lapack: add library and header install rules
6 Signed-off-by: Samuel Martin <s.martin49@gmail.com>
8 SRC/CMakeLists.txt | 3 ++-
9 1 file changed, 2 insertions(+), 1 deletion(-)
11 diff --git a/SRC/CMakeLists.txt b/SRC/CMakeLists.txt
12 index ac4cce3..aa60555 100644
13 --- a/SRC/CMakeLists.txt
14 +++ b/SRC/CMakeLists.txt
15 @@ -377,4 +377,5 @@ if(BUILD_COMPLEX16)
17 add_library(lapack ${ALLOBJ} ${ALLXOBJ})
18 target_link_libraries(lapack blas)
20 +install(TARGETS lapack LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
21 +install(FILES "${CLAPACK_SOURCE_DIR}/INCLUDE/clapack.h" DESTINATION include)