File: Install-libs-in-multi-arch-path.patch

package info (click to toggle)
wsclean 3.6-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 16,296 kB
  • sloc: cpp: 129,246; python: 22,066; sh: 360; ansic: 230; makefile: 185
file content (22 lines) | stat: -rw-r--r-- 700 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Ole Streicher <olebole@debian.org>
Date: Mon, 1 Nov 2021 09:14:09 +0100
Subject: Install libs in multi-arch path

---
 CMakeLists.txt | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5157b11..79e635e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -467,8 +467,7 @@ add_executable(
 target_link_libraries(wspredictionexample ${EXTERNAL_LIBRARIES})
 
 install(TARGETS wsclean DESTINATION bin)
-install(TARGETS wsclean-lib DESTINATION lib)
-install(TARGETS chgcentre DESTINATION bin)
+install(TARGETS wsclean-lib DESTINATION lib/${DEB_HOST_MULTIARCH})
 install(FILES interface/wscleaninterface.h DESTINATION include)
 
 if(MPI_FOUND)