More cleaning up of the Qt 'dependency'. Qt is now used by the tests, the OpenGL example and the documentation. These are of course all optional components.

This commit is contained in:
Matt Williams
2010-07-02 13:57:34 +00:00
parent e470fc6b2e
commit c7514c975f
3 changed files with 7 additions and 9 deletions

View File

@ -32,9 +32,6 @@ ADD_DEFINITIONS(-DGLEW_STATIC)
SOURCE_GROUP("Sources" FILES ${SRC_FILES})
SOURCE_GROUP("Headers" FILES ${INC_FILES})
FIND_PACKAGE(Qt4 COMPONENTS QtCore QtGui QtOpenGL REQUIRED)
INCLUDE(${QT_USE_FILE})
FIND_PACKAGE(OpenGL REQUIRED)
#Tell CMake the paths for OpenGL and for PolyVox (which is just relative to our current location)