view build/opengl.txt @ 393:1049b01aebd2

Fixed generator segfaults on OS X 10.6. Regarding the change to dgenerator.cpp, I am not actually sure if 0 is the correct value to pass, but it seems to work and the code which had been there before was just plain incorrect ? it read past the list boundaries.
author David Nadlinger <code@klickverbot.at>
date Sat, 28 Aug 2010 02:55:55 +0200
parents 8b0544bee5f2
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)