view build/opengl.txt @ 43:bfc76a437a62

CMake: autodetection of CMAKE_INSTALL_PREFIX. By default, command install will copy data to compiler directory.
author SokoL_SD
date Sun, 17 May 2009 16:41:44 +0000
parents eb3b5bbffc8f
children 63c31e221118
line wrap: on
line source

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