From d00a00e48d0d984dd8de3a4d32352fc722aee4ee Mon Sep 17 00:00:00 2001 From: Alex Moriarty Date: Wed, 14 Jun 2023 11:33:36 -0300 Subject: [PATCH] [WIP] use pure CMake only serial Use the pure CMake serial from: https://github.com/wjwwood/serial/pull/285 Signed-off-by: Alex Moriarty --- robotiq_description/package.xml | 2 -- robotiq_driver/CMakeLists.txt | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/robotiq_description/package.xml b/robotiq_description/package.xml index 3bc3a67..ee1ebec 100644 --- a/robotiq_description/package.xml +++ b/robotiq_description/package.xml @@ -9,8 +9,6 @@ ament_cmake - serial - ament_lint_auto ament_lint_common diff --git a/robotiq_driver/CMakeLists.txt b/robotiq_driver/CMakeLists.txt index b89d558..e882f18 100644 --- a/robotiq_driver/CMakeLists.txt +++ b/robotiq_driver/CMakeLists.txt @@ -35,8 +35,9 @@ target_include_directories( PUBLIC $ $ + ${SERIAL_INCLUDE_DIRS} ) -target_link_libraries(${PROJECT_NAME} atomic) +target_link_libraries(${PROJECT_NAME} atomic ${SERIAL_LIBRARIES}) ament_target_dependencies( ${PROJECT_NAME} ${THIS_PACKAGE_INCLUDE_DEPENDS}