Skip to content

Commit

Permalink
moveit_core collision_distince_field - CMakeLists.txt convert tabs in…
Browse files Browse the repository at this point in the history
…to withespaces
  • Loading branch information
ahcorde committed Jun 3, 2019
1 parent c548aa8 commit 7077bf2
Showing 1 changed file with 19 additions and 18 deletions.
37 changes: 19 additions & 18 deletions moveit_core/collision_distance_field/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,33 +29,34 @@ target_link_libraries(${MOVEIT_LIB_NAME}

install(TARGETS ${MOVEIT_LIB_NAME}
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib)
ARCHIVE DESTINATION lib
)

install(DIRECTORY include/ DESTINATION include)

if(BUILD_TESTING)
find_package(ament_cmake_gtest REQUIRED)
find_package(ament_cmake_gtest REQUIRED)
find_package(moveit_resources REQUIRED)
include_directories(${moveit_resources_INCLUDE_DIRS})
find_package(resource_retriever REQUIRED)
find_package(resource_retriever REQUIRED)

if(WIN32)
if(WIN32)
# TODO add windows paths
else()
set(append_library_dirs "${CMAKE_CURRENT_BINARY_DIR};${CMAKE_CURRENT_BINARY_DIR}/../planning_scene;${CMAKE_CURRENT_BINARY_DIR}/../distance_field;${CMAKE_CURRENT_BINARY_DIR}/../collision_detection;${CMAKE_CURRENT_BINARY_DIR}/../robot_state;${CMAKE_CURRENT_BINARY_DIR}/../robot_model;${CMAKE_CURRENT_BINARY_DIR}/../utils")
endif()
else()
set(append_library_dirs "${CMAKE_CURRENT_BINARY_DIR};${CMAKE_CURRENT_BINARY_DIR}/../planning_scene;${CMAKE_CURRENT_BINARY_DIR}/../distance_field;${CMAKE_CURRENT_BINARY_DIR}/../collision_detection;${CMAKE_CURRENT_BINARY_DIR}/../robot_state;${CMAKE_CURRENT_BINARY_DIR}/../robot_model;${CMAKE_CURRENT_BINARY_DIR}/../utils")
endif()

ament_add_gtest(test_collision_distance_field test/test_collision_distance_field.cpp)
target_link_libraries(test_collision_distance_field
${MOVEIT_LIB_NAME}
moveit_collision_detection
moveit_collision_distance_field
moveit_robot_state
${geometric_shapes_LIBRARIES}
${OCTOMAP_LIBRARIES}
${srdfdom_LIBRARIES}
resource_retriever::resource_retriever
moveit_distance_field
moveit_planning_scene
)
${MOVEIT_LIB_NAME}
moveit_collision_detection
moveit_collision_distance_field
moveit_robot_state
${geometric_shapes_LIBRARIES}
${OCTOMAP_LIBRARIES}
${srdfdom_LIBRARIES}
resource_retriever::resource_retriever
moveit_distance_field
moveit_planning_scene
)
endif()

0 comments on commit 7077bf2

Please sign in to comment.