vcpkg/ports/rtabmap/link-keywords.patch
Kai Pastor c5b5b4ea11
[rtabmap] Fix platform and linkage support (#37651)
`rtabmap-res_tool` is moved to a separate port because it is a host
dependency, and actual dependencies of `rtabmap` are heavy and non
opt-out. Only minimal patching needed.

Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>
2024-04-01 13:32:08 -07:00

13 lines
504 B
Diff

diff --git a/corelib/src/CMakeLists.txt b/corelib/src/CMakeLists.txt
index 6a4a9ab..85ede4e 100644
--- a/corelib/src/CMakeLists.txt
+++ b/corelib/src/CMakeLists.txt
@@ -167,7 +167,6 @@ SET(LIBRARIES
# Issue that qhull dependency uses optimized and debug keywords,
# which are converted to \$<\$<NOT:\$<CONFIG:DEBUG>> and \$<\$<CONFIG:DEBUG>
# in RTABMap_coreTargets.cmake (not sure why?!).
-list(REMOVE_ITEM PCL_LIBRARIES "debug" "optimized")
SET(PUBLIC_LIBRARIES
${OpenCV_LIBS}
${PCL_LIBRARIES}