personalrobotics / rewd_controllers

master
BSD 3-Clause "New" or "Revised" License
3 stars 4 forks source link

updates to work with dart 6.0 release #1

Closed ClintLiddick closed 8 years ago

ClintLiddick commented 8 years ago

@mkoval: should the below be here or be in aikido? I think here is correct (since we use the urdf loader)?

find_package(DART REQUIRED COMPONENTS utils-urdf)
mkoval commented 8 years ago

Yes, it should be here. In fact, please change that line to:

find_package(DART REQUIRED COMPONENTS utils utils-urdf CONFIG)

I added the utils COMPONENT to work around a bug with transitive dependencies in DART (note that utils-urdf depends on utils). I added CONFIG to prevent find_package from finding the MODULE-mode file FindDart.cmake shipped with recent versions of CMake on case-insensitive filesystems (e.g. HFS+ on OS X).