-
Notifications
You must be signed in to change notification settings - Fork 947
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
moveit_ros_perception: make OpenGL parts optional #698
Conversation
set(gl_LIBS ${gl_LIBS} ${OPENGL_LIBRARIES}) | ||
endif(OPENGL_FOUND) | ||
set(perception_GL_INCLUDE_DIRS "mesh_filter/include" "depth_image_octomap_updater/include") | ||
set(SYSTEM_GL_INCLUDE_DIRS ${GLEW_INCLUDE_DIR} ${GLUT_INCLUDE_DIR}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this line seems unused, could you please explain?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is used in line 91. If BUILD_OPENGL
is not set, SYSTEM_GL_INCLUDE_DIRS
is empty; if BUILD_OPENGL
is set, the paths are set as SYSTEM
include directories.
I just want to inform @rojkov that I am providing his patch upstream. |
In this discussion, I came up with the idea to actually rename the option |
But build everything by default. This commit is motivated by the work on the OpenEmbedded layer for ROS, a cross-compilation tool chain environment for ROS packages. We would like to allow to use moveit_ros_perception in embedded systems without OpenGL support. Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com> [Ported Dmitry's patch from indigo to current kinetic branch, renamed build config, elaborated commit message] Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
719bef7
to
8609bde
Compare
Sure, |
Merging because minor change. |
Fixes a regression introduced by #698
Fixes a regression introduced by #698
Fixes a regression introduced by moveit#698
Fixes a regression introduced by moveit#698
Description
We make OpenGL parts optional, but build everything by default.
This commit is motivated by the work on the OpenEmbedded layer for ROS, a cross-compilation tool chain environment for ROS packages. We would like to allow to use moveit_ros_perception in embedded systems without OpenGL support.
Dmitry Rozhkov is the original author of this patch. I ported the patch from indigo to the current kinetic branch and elaborated the commit message.
Checklist
BUILD_OPENGL
feature.