view build/opengl.txt @ 7:b8a79f9fba5a

More fixes and cleanups in CMake build script.
author SokoL_SD
date Thu, 14 May 2009 08:36:04 +0000
parents 0a29ce1ae854
children 907d517d37c6
line wrap: on
line source

set(link_cpp cpp_core cpp_gui ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTOPENGL_LIBRARY})
set(classes 
	QGLWidget
	QGLContext
	QGLFormat
	QGLColormap
    )
if(${CMAKE_SYSTEM_NAME} STREQUAL Windows)
  set(link_example opengl32 glu32)
endif(${CMAKE_SYSTEM_NAME} STREQUAL Windows)