From cf85b9026481e340973a9b7128e548ae83f22926 Mon Sep 17 00:00:00 2001 From: Robert Haschke Date: Sun, 13 Oct 2024 16:52:51 +0200 Subject: [PATCH] Fix linking against tinyxml2 --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e82a417..26dc217 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,9 +28,10 @@ set_target_properties(${PROJECT_NAME} PROPERTIES target_include_directories(${PROJECT_NAME} PUBLIC $ $) +target_link_libraries(${PROJECT_NAME} PUBLIC tinyxml2::tinyxml2) + # Ament dependencies ament_target_dependencies(${PROJECT_NAME} PUBLIC - TinyXML2 console_bridge urdf urdfdom_headers