Skip to content
Snippets Groups Projects
Commit cef4a174 authored by Fabian Paus's avatar Fabian Paus
Browse files

Remove branches in CMakeLists for qhull

parent 01e9e1ed
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,6 @@ add_compile_options(-Werror)
OPTION (Simox_USE_RBDL "Use RBDL" OFF)
OPTION (Simox_USE_URDF "Use URDF" OFF)
OPTION (Simox_USE_NLOPT "Use NLOPT" ON)
OPTION(BUILD_qhull "if on builds qhull external library" OFF)
OPTION(SimDynamics_USE_BULLET "Use Bullet Physics Engine" ON)
OPTION(Simox_USE_COIN_VISUALIZATION "Use Coin3D for visualization" ON)
OPTION(Simox_USE_OPENSCENEGRAPH_VISUALIZATION "Use OpenSceneGraph for visualization" OFF)
......@@ -159,9 +158,6 @@ endif()
if (Simox_BUILD_GraspStudio)
add_subdirectory(GraspPlanning)
list(APPEND SIMOX_EXPORT_TARGET_LIST GraspStudio)
if (BUILD_qhull)
list(APPEND SIMOX_EXPORT_TARGET_LIST simox-qhull)
endif()
list (APPEND Simox_LIBRARIES GraspStudio)
endif()
......
......@@ -16,9 +16,7 @@ MACRO(ADD_GRASPSTUDIO_TEST TEST_NAME)
ENDMACRO(ADD_GRASPSTUDIO_TEST)
########### QHULL #################
find_package(QHULL REQUIRED)
########### END QHULL #################
SET(SOURCES
......@@ -76,11 +74,7 @@ endif ()
ADD_LIBRARY (GraspStudio SHARED ${SOURCES} ${INCLUDES})
IF(BUILD_qhull)
target_include_directories(GraspStudio PUBLIC "ExternalDependencies/qhull-2003.1/include/")
else()
target_include_directories(GraspStudio PUBLIC ${QHULL_INCLUDE_DIRS})
endif()
target_include_directories(GraspStudio PUBLIC ${QHULL_INCLUDE_DIRS})
TARGET_LINK_LIBRARIES (GraspStudio PUBLIC Saba VirtualRobot ${QHULL_LIBRARIES})
......
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