From 2340647deeb91a339707c8769ad17c92cc13b4c4 Mon Sep 17 00:00:00 2001 From: Bo Chen Date: Tue, 3 Sep 2024 13:41:46 +0200 Subject: [PATCH] Change Linking to DRACO_LIBRARIES as it was changes in draco (#57) (cherry picked from commit 512697601a6e688b34434a292c24c928e1445443) # Conflicts: # draco_point_cloud_transport/CMakeLists.txt --- draco_point_cloud_transport/CMakeLists.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/draco_point_cloud_transport/CMakeLists.txt b/draco_point_cloud_transport/CMakeLists.txt index f80ba2b..8d9852c 100644 --- a/draco_point_cloud_transport/CMakeLists.txt +++ b/draco_point_cloud_transport/CMakeLists.txt @@ -36,9 +36,21 @@ add_library(${PROJECT_NAME} src/manifest.cpp ) +<<<<<<< HEAD target_link_libraries(${PROJECT_NAME} ${DRACO_LIBRARY}) ament_target_dependencies(${PROJECT_NAME} ${dependencies}) +======= +target_link_libraries(${PROJECT_NAME} PRIVATE + ${DRACO_LIBRARIES} + ${dependencies} +) +target_include_directories(${PROJECT_NAME} PRIVATE + "$" + "$" + ${DRACO_INCLUDE_DIR} +) +>>>>>>> 5126976 (Change Linking to DRACO_LIBRARIES as it was changes in draco (#57)) install(TARGETS ${PROJECT_NAME} ARCHIVE DESTINATION lib