Skip to content
Snippets Groups Projects
Commit 556d12d1 authored by Christoph Pohl's avatar Christoph Pohl
Browse files

conditional build of RobotAPINJointControllers

parent 9bc9bf42
No related branches found
No related tags found
No related merge requests found
......@@ -11,13 +11,14 @@ find_package(MMMTools QUIET)
armarx_build_if(Eigen3_FOUND "Eigen3 not available")
armarx_build_if(Simox_FOUND "Simox-VirtualRobot not available")
armarx_build_if(DMP_FOUND "DMP not available")
if (Eigen3_FOUND AND Simox_FOUND)
include_directories(${Simox_INCLUDE_DIRS})
include_directories(SYSTEM ${Eigen3_INCLUDE_DIR})
endif()
set(LIBS RobotAPIInterfaces ArmarXCoreObservers ArmarXCoreStatechart ArmarXCoreEigen3Variants
VirtualRobot
Saba
......@@ -33,7 +34,6 @@ set(LIB_HEADERS
)
if (DMP_FOUND )
message(STATUS "DMP libraries is ${DMP_LIBRARIES}")
include_directories(${DMP_INCLUDE_DIRS})
......@@ -61,7 +61,6 @@ if (DMP_FOUND )
)
list(APPEND LIBS ${DMP_LIBRARIES} DMPController)
endif ()
armarx_add_library("${LIB_NAME}" "${LIB_FILES}" "${LIB_HEADERS}" "${LIBS}")
......
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