Skip to content

Commit

Permalink
Change Linking to DRACO_LIBRARIES as it was changes in draco (#57)
Browse files Browse the repository at this point in the history
(cherry picked from commit 5126976)

# Conflicts:
#	draco_point_cloud_transport/CMakeLists.txt
  • Loading branch information
bochen87 authored and mergify[bot] committed Sep 3, 2024
1 parent 942673f commit 2340647
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions draco_point_cloud_transport/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>"
"$<INSTALL_INTERFACE:include/${PROJECT_NAME}>"
${DRACO_INCLUDE_DIR}
)
>>>>>>> 5126976 (Change Linking to DRACO_LIBRARIES as it was changes in draco (#57))

install(TARGETS ${PROJECT_NAME}
ARCHIVE DESTINATION lib
Expand Down

0 comments on commit 2340647

Please sign in to comment.