view build/opengl.txt @ 388:8b0544bee5f2

Fixed a build system bug which caused the OpenGL library modules not to be installed.
author David Nadlinger <code@klickverbot.at>
date Fri, 27 Aug 2010 14:26:55 +0200
parents 63c31e221118
children
line wrap: on
line source

set(required Core Gui)
set(classes 
    QGLColormap
    QGLContext
    QGLFormat
    QGLFramebufferObject
    QGLPixelBuffer
    QGLWidget
    )
set (d_qt_files opengl/gl  opengl/glfuncs  opengl/gltypes  opengl/glu)
if(${CMAKE_SYSTEM_NAME} STREQUAL Windows AND D_IS_MARS)
    set(link_example opengl32 glu32)
    install(FILES lib/opengl32.lib lib/glu32.lib DESTINATION lib)
endif(${CMAKE_SYSTEM_NAME} STREQUAL Windows AND D_IS_MARS)