vcpkg/ports/rtabmap/link-keywords.patch

13 lines
504 B
Diff
Raw Normal View History

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}