/usr/share/urdfdom/cmake/urdfdom-config.cmake is in liburdfdom-dev 0.2.10+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | if (urdfdom_CONFIG_INCLUDED)
return()
endif()
set(urdfdom_CONFIG_INCLUDED TRUE)
set(urdfdom_INCLUDE_DIRS /usr/include)
foreach(lib urdfdom_sensor;urdfdom_model_state;urdfdom_model;urdfdom_world)
set(onelib "${lib}-NOTFOUND")
find_library(onelib ${lib})
if(NOT onelib)
message(FATAL_ERROR "Library '${lib}' in package urdfdom is not installed properly")
endif()
list(APPEND urdfdom_LIBRARIES ${onelib})
endforeach()
foreach(dep urdfdom_headers;console_bridge)
if(NOT ${dep}_FOUND)
find_package(${dep})
endif()
list(APPEND urdfdom_INCLUDE_DIRS ${${dep}_INCLUDE_DIRS})
list(APPEND urdfdom_LIBRARIES ${${dep}_LIBRARIES})
endforeach()
|