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
|