diff --git a/drake-extras.cmake b/drake-extras.cmake index 8caeeda..a15f075 100644 --- a/drake-extras.cmake +++ b/drake-extras.cmake @@ -13,5 +13,9 @@ unset(drake_DIR CACHE) # of drake (share/drake/cmake under the ROS root installation) # The relative path should drive us to the root of the drake # upstream installation done under ROS. +message(STATUS "drake_path: ${drake_path}") +get_filename_component(abs_path ${drake_path} ABSOLUTE) +message(STATUS "Absolute path of drake_path: ${abs_path}") + set(drake_path "${drake_DIR}/../../../opt/drake") find_package(drake PATHS ${drake_path} NO_DEFAULT_PATH)