Fix for file injection is broken on centos computes with Cirros images LP #1587960
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / clapack / 0004-cmake-blas-add-library-and-header-install-rules.patch
1 From 675111e8ffc179276a7e4950fe4a4eda4d38a703 Mon Sep 17 00:00:00 2001
2 From: Samuel Martin <s.martin49@gmail.com>
3 Date: Sat, 11 Jan 2014 21:48:32 +0100
4 Subject: [PATCH 4/6] cmake: blas: add library and header install rules
5
6 Signed-off-by: Samuel Martin <s.martin49@gmail.com>
7 ---
8  BLAS/SRC/CMakeLists.txt | 2 ++
9  1 file changed, 2 insertions(+)
10
11 diff --git a/BLAS/SRC/CMakeLists.txt b/BLAS/SRC/CMakeLists.txt
12 index d1caff8..a5de5a1 100644
13 --- a/BLAS/SRC/CMakeLists.txt
14 +++ b/BLAS/SRC/CMakeLists.txt
15 @@ -141,3 +141,5 @@ if(UNIX)
16    target_link_libraries(blas m)
17  endif()
18  target_link_libraries(blas f2c)
19 +install(TARGETS blas LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
20 +install(FILES "${CLAPACK_SOURCE_DIR}/INCLUDE/blaswrap.h" DESTINATION include)
21 -- 
22 1.8.5.3
23