Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions debian_deps.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ gcc
libpoco-dev
libeigen3-dev
libglfw3-dev
libconsole-bridge-dev
libtinyxml2-dev
8 changes: 6 additions & 2 deletions extensions/rcs_fr3/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,14 @@ find_package(rcs REQUIRED)

FetchContent_Declare(
libfranka
GIT_REPOSITORY https://github.com/frankaemika/libfranka.git
GIT_TAG 0.15.0
GIT_REPOSITORY https://github.com/frankarobotics/libfranka.git
GIT_TAG 0.20.3
GIT_PROGRESS TRUE
EXCLUDE_FROM_ALL
# Overwrite the version check script with our dummy script
PATCH_COMMAND ${CMAKE_COMMAND} -E copy
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/SetVersionFromGit.cmake"
"cmake/SetVersionFromGit.cmake"
)
FetchContent_Declare(pybind11
GIT_REPOSITORY https://github.com/pybind/pybind11.git
Expand Down
6 changes: 6 additions & 0 deletions extensions/rcs_fr3/cmake/SetVersionFromGit.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# This replaces the original libfranka function to bypass git errors
function(set_version_from_git VERSION_VAR TAG_VAR)
set(${VERSION_VAR} "" PARENT_SCOPE)
set(${TAG_VAR} "" PARENT_SCOPE)
message(STATUS "Patched libfranka to bypass git check")
endfunction()
Loading