mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-11-04 14:49:57 +08:00
Fixup: avoid deprecation warnings of MoveIt master branch
Fixes missing definition of MOVEIT_MASTER for capabilities packages
in 233d63aa7a
This commit is contained in:
parent
919531bc29
commit
46805e2666
@ -19,6 +19,15 @@ catkin_package(
|
||||
std_msgs
|
||||
)
|
||||
|
||||
# check for MOVEIT_MASTER
|
||||
include(CheckIncludeFileCXX)
|
||||
set(CMAKE_REQUIRED_INCLUDES ${moveit_core_INCLUDE_DIRS})
|
||||
CHECK_INCLUDE_FILE_CXX(moveit/collision_detection/collision_env.h MOVEIT_MASTER)
|
||||
if(NOT MOVEIT_MASTER)
|
||||
set(MOVEIT_MASTER 0)
|
||||
endif()
|
||||
add_definitions(-DMOVEIT_MASTER=${MOVEIT_MASTER})
|
||||
|
||||
include_directories(
|
||||
${catkin_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user