Skip to content

Commit

Permalink
Require YARP 3.0+ and YCM 0.10+, remove workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterBowman committed May 13, 2019
1 parent c1c5234 commit ec3cd90
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
9 changes: 2 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,8 @@ cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
project(AMOR_OPENRAVE_MODELS LANGUAGES NONE)

# Find dependencies
find_package(YCM 0.8 REQUIRED)

# https://github.com/roboticslab-uc3m/questions-and-answers/issues/65
find_package(YARP 3.0 QUIET)
if(NOT YARP_FOUND)
find_package(YARP 2.3.70 REQUIRED)
endif()
find_package(YCM 0.10 REQUIRED)
find_package(YARP 3.0 REQUIRED)

# Set some useful variables - paths relative to the installation prefix.
yarp_configure_external_installation(amor)
Expand Down
4 changes: 2 additions & 2 deletions doc/amor-openrave-models-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
Dependencies:

- [Install CMake 3.5+](https://github.com/roboticslab-uc3m/installation-guides/blob/develop/install-cmake.md)
- [Install YCM 0.8+](https://github.com/roboticslab-uc3m/installation-guides/blob/master/install-ycm.md)
- [Install YARP 2.3.70+](https://github.com/roboticslab-uc3m/installation-guides/blob/develop/install-yarp.md) (CMake modules)
- [Install YCM 0.10+](https://github.com/roboticslab-uc3m/installation-guides/blob/master/install-ycm.md)
- [Install YARP 3.0+](https://github.com/roboticslab-uc3m/installation-guides/blob/develop/install-yarp.md) (CMake modules)

Installation steps:

Expand Down

0 comments on commit ec3cd90

Please sign in to comment.