Closed GoogleCodeExporter closed 8 years ago
check this
http://www.cmake.org/cmake/help/cmake-2-8-docs.html#module:FindOpenGL
with
find_package(OpenGL REQUIRED)
you will find both opengl (sets OPENGL_FOUND=true) and glu (sets
OPENGL_GLU_FOUND=true).
linking with these is done with:
target_link_libraries(mytarget ${OPENGL_LIBRARIES})
Original comment by anders.e...@gmail.com
on 12 May 2011 at 5:08
Original comment by neomil...@gmail.com
on 28 Jun 2014 at 5:06
Fixed in CMake.
Original comment by neomil...@gmail.com
on 29 Jun 2014 at 6:35
Original issue reported on code.google.com by
DanChris...@gmail.com
on 11 May 2011 at 11:06