Skip to content
Snippets Groups Projects
Commit 303f5444 authored by Florent Lamiraux's avatar Florent Lamiraux
Browse files

Add optional dependency to hpp-manipulation-corba.

parent dbfaaccd
No related branches found
No related tags found
No related merge requests found
......@@ -29,9 +29,19 @@ SETUP_PROJECT()
FINDPYTHON()
ADD_REQUIRED_DEPENDENCY ("hpp-corbaserver >= 3")
ADD_OPTIONAL_DEPENDENCY ("hpp-manipulation-corba")
INSTALL(FILES
${PROJECT_SOURCE_DIR}/src/hpp/corbaserver/hrp2/robot.py
${PROJECT_SOURCE_DIR}/src/hpp/corbaserver/hrp2/__init__.py
DESTINATION ${PYTHON_SITELIB}/hpp/corbaserver/hrp2
)
IF (HPP_MANIPULATION_CORBA_FOUND)
INSTALL (FILES
${PROJECT_SOURCE_DIR}/src/hpp/corbaserver/manipulation/hrp2/robot.py
${PROJECT_SOURCE_DIR}/src/hpp/corbaserver/manipulation/hrp2/__init__.py
DESTINATION ${PYTHON_SITELIB}/hpp/corbaserver/manipulation/hrp2
)
ENDIF ()
SETUP_PROJECt_FINALIZE()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment