Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…into dev
  • Loading branch information
rlober committed May 20, 2016
2 parents 63f795e + 11429fb commit 2860f07
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@ add_definitions(${YARP_DEFINES}) #this contains also -D_REENTRANT
include(YarpInstallationHelpers)
yarp_configure_external_installation(codyco)

# Adding RPATH support
option(OCRA_ICUB_ENABLE_RPATH "Enable RPATH for this library" FALSE)
# mark_as_advanced(OCRA_ICUB_ENABLE_RPATH)
include(AddInstallRPATHSupport)
add_install_rpath_support(BIN_DIRS "${CMAKE_INSTALL_PREFIX}/bin"
LIB_DIRS "${CMAKE_INSTALL_PREFIX}/lib"
DEPENDS OCRA_ICUB_ENABLE_RPATH
USE_LINK_PATH)

add_subdirectory(ocra-icub)
add_subdirectory(ocra-icub-server)
Expand Down

0 comments on commit 2860f07

Please sign in to comment.