From fe028c25dfd8057ba77cb26746b7866cea67e63d Mon Sep 17 00:00:00 2001 From: Jose Luis Rivero Date: Fri, 1 Mar 2024 11:36:16 +0100 Subject: [PATCH] debug path --- drake-extras.cmake | 4 ++++ 1 file changed, 4 insertions(+) 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)