From c0932579ddc45b38e5afe25487e2cb7eed7ea6c1 Mon Sep 17 00:00:00 2001 From: Paul Gesel Date: Sat, 9 Nov 2024 17:31:35 -0700 Subject: [PATCH] update FetchContent test branch Signed-off-by: Paul Gesel --- test/fetch_content_test/CMakeLists.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/test/fetch_content_test/CMakeLists.txt b/test/fetch_content_test/CMakeLists.txt index 7fea2ee..f2cd172 100644 --- a/test/fetch_content_test/CMakeLists.txt +++ b/test/fetch_content_test/CMakeLists.txt @@ -13,13 +13,16 @@ include(FetchContent) FetchContent_Declare( fast_forward_kinematics GIT_REPOSITORY https://github.com/pac48/fast_robot_kinematics.git - GIT_TAG fix-cmake + GIT_TAG main ) FetchContent_MakeAvailable(fast_forward_kinematics) #TODO use ZIP_LISTS to test all robots -set(URDF_FILE ${CMAKE_SOURCE_DIR}/urdf/robot.urdf) +set(URDF_FILE ${CMAKE_CURRENT_SOURCE_DIR}/urdf/robot.urdf) set(ROOT base_link) set(TIP grasp_link) -generate_fast_forward_kinematics_library(fast_forward_kinematics_library_{robots} URDF_FILE ${URDF_FILE} ROOT_LINK ${ROOT} TIP_LINK ${TIP}) +generate_fast_forward_kinematics_library(fast_forward_kinematics_library + URDF_FILE ${URDF_FILE} + ROOT_LINK ${ROOT} + TIP_LINK ${TIP})