File: 0001-Use-packaged-PoissonRecon-sources.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 (28 lines) | stat: -rw-r--r-- 991 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
23
24
25
26
27
28
From: =?utf-8?q?Timo_R=C3=B6hling?= <roehling@debian.org>
Date: Tue, 7 Dec 2021 13:32:02 +0100
Subject: Use packaged PoissonRecon sources

Forwarded: not-needed
---
 3rdparty/find_dependencies.cmake | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/3rdparty/find_dependencies.cmake b/3rdparty/find_dependencies.cmake
index 13f6501..8b88f4c 100644
--- a/3rdparty/find_dependencies.cmake
+++ b/3rdparty/find_dependencies.cmake
@@ -1130,11 +1130,9 @@ if (BUILD_AZURE_KINECT)
 endif()
 
 # PoissonRecon
-include(${Open3D_3RDPARTY_DIR}/possionrecon/possionrecon.cmake)
-open3d_import_3rdparty_library(3rdparty_poisson
-    INCLUDE_DIRS ${POISSON_INCLUDE_DIRS}
-    DEPENDS      ext_poisson
-)
+add_library(3rdparty_poisson INTERFACE)
+target_include_directories(3rdparty_poisson INTERFACE ${PROJECT_SOURCE_DIR})
+add_library(Open3D::3rdparty_poisson ALIAS 3rdparty_poisson)
 list(APPEND Open3D_3RDPARTY_PRIVATE_TARGETS_FROM_CUSTOM Open3D::3rdparty_poisson)
 
 # Minizip