File: Multiarch-patch.patch

package info (click to toggle)
sopt 5.0.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,704 kB
  • sloc: cpp: 13,620; xml: 182; makefile: 6
file content (22 lines) | stat: -rw-r--r-- 689 bytes parent folder | download
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: Wed, 12 Oct 2016 08:40:01 +0200
Subject: Multiarch patch

---
 cpp/sopt/CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cpp/sopt/CMakeLists.txt b/cpp/sopt/CMakeLists.txt
index c460d89..0b53aa4 100644
--- a/cpp/sopt/CMakeLists.txt
+++ b/cpp/sopt/CMakeLists.txt
@@ -83,7 +83,7 @@ install(FILES ${mpi_headers} DESTINATION include/sopt/mpi)
 install(TARGETS sopt
   EXPORT soptCPPTargets
   DESTINATION share/cmake/sopt
-  LIBRARY DESTINATION lib
-  ARCHIVE DESTINATION lib
+  LIBRARY DESTINATION lib/${DEB_HOST_MULTIARCH}
+  ARCHIVE DESTINATION lib/${DEB_HOST_MULTIARCH}
   INCLUDES DESTINATION include
 )