abba460b6c98d8b24ca346d8404a7c4e8529363e
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / clapack / 0005-cmake-lapack-add-library-and-header-install-rules.patch
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
5
6 Signed-off-by: Samuel Martin <s.martin49@gmail.com>
7 ---
8  SRC/CMakeLists.txt | 3 ++-
9  1 file changed, 2 insertions(+), 1 deletion(-)
10
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)
16  endif()
17  add_library(lapack ${ALLOBJ} ${ALLXOBJ})
18  target_link_libraries(lapack blas)
19 -
20 +install(TARGETS lapack LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
21 +install(FILES "${CLAPACK_SOURCE_DIR}/INCLUDE/clapack.h" DESTINATION include)
22 -- 
23 1.8.5.3
24