Skip to content

Commit cf85b90

Browse files
committed
Fix linking against tinyxml2
1 parent af3e452 commit cf85b90

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@ set_target_properties(${PROJECT_NAME} PROPERTIES
2828
target_include_directories(${PROJECT_NAME}
2929
PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
3030
$<INSTALL_INTERFACE:include>)
31+
target_link_libraries(${PROJECT_NAME} PUBLIC tinyxml2::tinyxml2)
32+
3133
# Ament dependencies
3234
ament_target_dependencies(${PROJECT_NAME} PUBLIC
33-
TinyXML2
3435
console_bridge
3536
urdf
3637
urdfdom_headers

0 commit comments

Comments
 (0)