Skip to content

Commit

Permalink
Support opengl dependency in PCLConfig.cmake (needed by simulation)
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://svn.pointclouds.org/pcl/trunk@8733 a9d63959-f2ad-4865-b262-bf0e56cfafb6
  • Loading branch information
jspricke committed Feb 21, 2013
1 parent 6ff48cf commit 693c2c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions PCLConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,8 @@ macro(find_external_library _component _lib _is_optional)
find_libusb()
elseif("${_lib}" STREQUAL "glew")
find_glew()
elseif("${_lib}" STREQUAL "opengl")
find_package(OpenGL)
endif("${_lib}" STREQUAL "boost")

string(TOUPPER "${_component}" COMPONENT)
Expand Down

0 comments on commit 693c2c0

Please sign in to comment.