Skip to content

Commit

Permalink
Add the possibility to use ROS2
Browse files Browse the repository at this point in the history
  • Loading branch information
GiulioRomualdi committed Nov 18, 2022
1 parent 3e3d30a commit b81676f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cmake/BipedalLocomotionFrameworkDependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ dependency_classifier(spdlog MINIMUM_VERSION 1.5.0 IS_USED TRUE PUBLIC)

########################## Optional dependencies ##############################

find_package(rclcpp 16.0.0 QUIET)
checkandset_dependency(rclcpp MINIMUM_VERSION 16.0.0)
dependency_classifier(rclcpp MINIMUM_VERSION 16.0.0 IS_USED ${FRAMEWORK_USE_rclcpp} PUBLIC)

find_package(YARP 3.7.0 COMPONENTS companion profiler dev os idl_tools QUIET)
checkandset_dependency(YARP MINIMUM_VERSION 3.7.0)
dependency_classifier(YARP MINIMUM_VERSION 3.7.0 IS_USED ${FRAMEWORK_USE_YARP}
Expand Down Expand Up @@ -108,6 +112,10 @@ framework_dependent_option(FRAMEWORK_COMPILE_YarpUtilities
"Compile YarpHelper library?" ON
"FRAMEWORK_USE_YARP" OFF)

framework_dependent_option(FRAMEWORK_COMPILE_RosImplementation
"Compile All the ROS implementations?" ON
"FRAMEWORK_USE_rclcpp" OFF)

framework_dependent_option(FRAMEWORK_COMPILE_YarpImplementation
"Compile All the YARP implementations?" ON
"FRAMEWORK_COMPILE_YarpUtilities" OFF)
Expand Down

0 comments on commit b81676f

Please sign in to comment.