Skip to content

Commit

Permalink
Require YARP 2.3.70
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterBowman committed May 17, 2018
1 parent f6b0486 commit f929b89
Show file tree
Hide file tree
Showing 11 changed files with 1 addition and 30 deletions.
9 changes: 1 addition & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,7 @@ set_property(GLOBAL PROPERTY ROBOTICSLAB_YARP_DEVICES_TARGETS)
include(CMakeDependentOption)

# Find YARP (main dependency).
find_package(YARP REQUIRED)

# Load YARP modules.
if(YARP_VERSION_SHORT VERSION_LESS 2.3.70)
list(APPEND CMAKE_MODULE_PATH ${YARP_MODULE_PATH})
include(YarpPlugin)
include(YarpInstallationHelpers)
endif()
find_package(YARP 2.3.70 REQUIRED)

# Configure installation paths for YARP resources.
yarp_configure_external_installation(roboticslab-yarp-devices WITH_PLUGINS)
Expand Down
2 changes: 0 additions & 2 deletions libraries/OneCanBusOneWrapper/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ option(ENABLE_OneCanBusOneWrapper "Enable/disable OneCanBusOneWrapper library" O

if(ENABLE_OneCanBusOneWrapper)

include_directories(${YARP_INCLUDE_DIRS}) # remove if YARP > v2.3.70

add_library(OneCanBusOneWrapper OneCanBusOneWrapper.cpp
OneCanBusOneWrapper.hpp)

Expand Down
2 changes: 0 additions & 2 deletions libraries/TwoCanBusThreeWrappers/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ option(ENABLE_TwoCanBusThreeWrappers "Enable/disable TwoCanBusThreeWrappers libr

if(ENABLE_TwoCanBusThreeWrappers)

include_directories(${YARP_INCLUDE_DIRS}) # remove if YARP > v2.3.70

add_library(TwoCanBusThreeWrappers TwoCanBusThreeWrappers.cpp
TwoCanBusThreeWrappers.hpp)

Expand Down
4 changes: 0 additions & 4 deletions libraries/YarpPlugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
# Authors: Juan G. Victores & Raul de Santos Rico
# CopyPolicy: Released under the terms of the LGPLv2.1 or later, see LGPL.TXT

if(YARP_VERSION_SHORT VERSION_LESS 2.3.70)
include_directories(${YARP_INCLUDE_DIRS})
endif()

# Create device interface target.
add_library(YarpDevicesInterfaces INTERFACE)

Expand Down
2 changes: 0 additions & 2 deletions programs/checkCanBus/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ option(ENABLE_checkCanBus "Enable/disable checkCanBus program" ON)

if(ENABLE_checkCanBus)

include_directories(${YARP_INCLUDE_DIRS}) # remove if YARP > v2.3.70

add_executable(checkCanBus main.cpp
CheckCanBus.cpp
CheckCanBus.hpp
Expand Down
2 changes: 0 additions & 2 deletions programs/dumpCanBus/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ option(ENABLE_dumpCanBus "Enable/disable dumpCanBus program" ON)

if(ENABLE_dumpCanBus)

include_directories(${YARP_INCLUDE_DIRS}) # remove if YARP > v2.3.70

add_executable(dumpCanBus main.cpp
DumpCanBus.cpp
DumpCanBus.hpp
Expand Down
2 changes: 0 additions & 2 deletions programs/launchLocomotion/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ cmake_dependent_option(ENABLE_launchLocomotion "Enable/disable launchLocomotion

if(ENABLE_launchLocomotion)

include_directories(${YARP_INCLUDE_DIRS}) # remove if YARP > v2.3.70

add_executable(launchLocomotion main.cpp)

add_dependencies(launchLocomotion COLOR_DEBUG)
Expand Down
2 changes: 0 additions & 2 deletions programs/launchManipulation/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ cmake_dependent_option(ENABLE_launchManipulation "Enable/disable launchManipulat

if(ENABLE_launchManipulation)

include_directories(${YARP_INCLUDE_DIRS}) # remove if YARP > v2.3.70

add_executable(launchManipulation main.cpp)

add_dependencies(launchManipulation COLOR_DEBUG)
Expand Down
2 changes: 0 additions & 2 deletions programs/oneCanBusOneWrapper/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ cmake_dependent_option(ENABLE_oneCanBusOneWrapper "Enable/disable oneCanBusOneWr

if(ENABLE_oneCanBusOneWrapper)

include_directories(${YARP_INCLUDE_DIRS}) # remove if YARP > v2.3.70

add_executable(oneCanBusOneWrapper main.cpp)

add_dependencies(oneCanBusOneWrapper COLOR_DEBUG)
Expand Down
2 changes: 0 additions & 2 deletions tests/testCuiAbsolute/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
include_directories(${YARP_INCLUDE_DIRS}) # remove if YARP > v2.3.70

add_executable(testCuiAbsolute testCuiAbsolute.cpp)

add_dependencies(testCuiAbsolute COLOR_DEBUG)
Expand Down
2 changes: 0 additions & 2 deletions tests/testTechnosoftIpos/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
include_directories(${YARP_INCLUDE_DIRS}) # remove if YARP > v2.3.70

add_executable(testTechnosoftIpos testTechnosoftIpos.cpp)

add_dependencies(testTechnosoftIpos COLOR_DEBUG)
Expand Down

0 comments on commit f929b89

Please sign in to comment.