Skip to content

Commit

Permalink
[build] Remove patch for finding TinyXml in urdfdom
Browse files Browse the repository at this point in the history
  • Loading branch information
jslee02 committed Mar 22, 2024
1 parent 88a3cd4 commit 1fe0fc5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 53 deletions.
12 changes: 0 additions & 12 deletions cmake/DARTFindurdfdom.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,6 @@

find_package(urdfdom QUIET CONFIG)

if(MSVC)
# Remove invalid path (i.e., /include) from urdfdom_INCLUDE_DIRS. This happens
# when it's installed by vcpkg on Windows. See:
# - https://github.com/dartsim/dart/issues/1365
# - https://github.com/ros/urdfdom/issues/140
if ("/include" IN_LIST urdfdom_INCLUDE_DIRS)
list(REMOVE_ITEM urdfdom_INCLUDE_DIRS "/include")
find_package(TinyXML REQUIRED MODULE)
list(APPEND urdfdom_INCLUDE_DIRS ${TinyXML_INCLUDE_DIRS})
endif()
endif()

if(urdfdom_FOUND AND NOT TARGET urdfdom)
add_library(urdfdom INTERFACE IMPORTED)
set_target_properties(urdfdom PROPERTIES
Expand Down
41 changes: 0 additions & 41 deletions cmake/FindTinyXML.cmake

This file was deleted.

0 comments on commit 1fe0fc5

Please sign in to comment.