Skip to content

Commit

Permalink
Update yarp required version + icub-firmware-shared required version
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiraz committed Mar 2, 2022
1 parent 20f77ef commit 2a33301
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
option(ICUB_COMPILE_BINDINGS "Compile optional language bindings" FALSE)

set(YCM_REQUIRED_VERSION 0.13.0)
set(YARP_REQUIRED_VERSION 3.6.0)
set(YARP_REQUIRED_VERSION 3.6.102)

find_package(YCM ${YCM_REQUIRED_VERSION} REQUIRED)
find_package(YARP ${YARP_REQUIRED_VERSION} REQUIRED)
Expand Down
4 changes: 2 additions & 2 deletions conf/iCubFindDependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ checkandset_dependency(Qt5)

if(icub_firmware_shared_FOUND AND ICUB_USE_icub_firmware_shared)
# icub-firmware-shared 4.0.7 was actually a wrong version exported by icub-firmware-shared <= 1.15
if(icub_firmware_shared_VERSION VERSION_GREATER 4 OR icub_firmware_shared_VERSION VERSION_LESS 1.22.2)
message(FATAL_ERROR "An old version of icub-firmware-shared has been detected, but at least 1.22.2 is required")
if(icub_firmware_shared_VERSION VERSION_GREATER 4 OR icub_firmware_shared_VERSION VERSION_LESS 1.23.1)
message(FATAL_ERROR "An old version of icub-firmware-shared has been detected, but at least 1.23.1 is required")
endif()
endif()

Expand Down

0 comments on commit 2a33301

Please sign in to comment.