Skip to content

Commit

Permalink
Fix linking of ModelExporter with libxml2
Browse files Browse the repository at this point in the history
  • Loading branch information
traversaro committed Aug 20, 2019
1 parent ba04aaa commit aaf1dec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model_io/urdf/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ target_include_directories(${libraryname} PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURR
${LIBXML2_INCLUDE_DIR})

target_link_libraries(${libraryname} LINK_PUBLIC idyntree-core idyntree-model idyntree-sensors idyntree-modelio-xml
LINK_PRIVATE ${TinyXML_LIBRARIES})
LINK_PRIVATE ${LIBXML2_LIBRARIES})

target_compile_options(${libraryname} PRIVATE ${IDYNTREE_WARNING_FLAGS} ${LIBXML2_DEFINITIONS})

Expand Down

0 comments on commit aaf1dec

Please sign in to comment.