view build/opengl.txt @ 306:70f64e5b5942

Fixed "make install" command on windows. http://www.dsource.org/forums/viewtopic.php?t=4931&sid=a9b3b6103c99ae05c76269fd7c6c5448
author Alexey Prokhin <alexey.prokhin@yandex.ru>
date Sat, 19 Dec 2009 18:43:32 +0300
parents 63c31e221118
children 80b52f5e97b6
line wrap: on
line source

set(required Core Gui)
set(classes 
    QGLColormap
    QGLContext
    QGLFormat
    QGLFramebufferObject
    QGLPixelBuffer
    QGLWidget
    )
set (d_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)