File: 0020-Fix-libdir-in-Open3D.pc.patch

package info (click to toggle)
open3d 0.19.0-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 83,236 kB
  • sloc: cpp: 206,501; python: 27,254; ansic: 8,356; javascript: 1,883; sh: 1,527; makefile: 259; xml: 69
file content (21 lines) | stat: -rw-r--r-- 629 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
From: =?utf-8?q?Timo_R=C3=B6hling?= <roehling@debian.org>
Date: Thu, 6 Jul 2023 13:36:37 +0200
Subject: Fix libdir in Open3D.pc

---
 cpp/open3d/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpp/open3d/CMakeLists.txt b/cpp/open3d/CMakeLists.txt
index 00b0468..180ef9d 100644
--- a/cpp/open3d/CMakeLists.txt
+++ b/cpp/open3d/CMakeLists.txt
@@ -189,7 +189,7 @@ if (BUILD_SHARED_LIBS AND UNIX)
     file(CONFIGURE OUTPUT Open3D.pc.in
          CONTENT [=[
 prefix=${pcfiledir}/../..
-libdir=${prefix}/lib
+libdir=${prefix}/@Open3D_INSTALL_LIB_DIR@
 includedir=${prefix}/include/
 
 Name: Open3D