Skip to content

Commit

Permalink
Place YARP-related lines in root CMakeLines.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterBowman committed Jun 18, 2018
1 parent 83a5efe commit 2d05bde
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)

# Find project's hard dependencies.
find_package(YCM 0.8 REQUIRED)
find_package(YARP REQUIRED)

# Retrieve current ASIBOT_HMI version.
include(ASIBOT_HMIVersion)
Expand Down
3 changes: 3 additions & 0 deletions cmake/ASIBOT_HMISystem.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ endif()

# Install system runtime libraries.
include(InstallRequiredSystemLibraries)

# Configure installation paths for YARP resources.
yarp_configure_external_installation(asibot WITH_PLUGINS)
3 changes: 0 additions & 3 deletions programs/webInterface/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
# Authors: Robotics Lab UC3M
# CopyPolicy: Released under the terms of the LGPLv2.1 or later

# Find YARP.
find_package(YARP REQUIRED)

# Find ROBOTICSLAB_KINEMATICS_DYNAMICS.
find_package(ROBOTICSLAB_KINEMATICS_DYNAMICS REQUIRED)

Expand Down
6 changes: 0 additions & 6 deletions share/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,5 @@
# Authors: Robotics Lab UC3M
# CopyPolicy: Released under the terms of the LGPLv2.1 or later

find_package(YARP REQUIRED)
list(APPEND CMAKE_MODULE_PATH ${YARP_MODULE_PATH})
include(YarpInstallationHelpers)
yarp_configure_external_installation(asibot)

### Go through single applications

add_subdirectory(webInterface)

0 comments on commit 2d05bde

Please sign in to comment.