File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -419,6 +419,12 @@ if(WITH_OPENGL)
419
419
include ("${PCL_SOURCE_DIR} /cmake/pcl_find_gl.cmake" )
420
420
endif ()
421
421
422
+ # GLEW
423
+ option (WITH_GLEW "Support for GLEW" TRUE )
424
+ if (WITH_GLEW )
425
+ find_package (GLEW QUIET )
426
+ endif ()
427
+
422
428
# Boost (required)
423
429
include ("${PCL_SOURCE_DIR} /cmake/pcl_find_boost.cmake" )
424
430
Original file line number Diff line number Diff line change @@ -2,11 +2,6 @@ set(SUBSYS_NAME simulation)
2
2
set (SUBSYS_DESC "Point Cloud Library Simulation" )
3
3
set (SUBSYS_DEPS common io surface kdtree features search octree visualization filters geometry )
4
4
5
- set (build FALSE )
6
- find_package (OpenGL )
7
-
8
- find_package (GLEW )
9
-
10
5
PCL_SUBSYS_OPTION (build "${SUBSYS_NAME} " "${SUBSYS_DESC} " OFF )
11
6
PCL_SUBSYS_DEPEND (build NAME ${SUBSYS_NAME} DEPS ${SUBSYS_DEPS} EXT_DEPS opengl glew )
12
7
You can’t perform that action at this time.
0 commit comments