Commit 4dba15ed authored by Johannes Bergmeier's avatar Johannes Bergmeier

- Added check for QT_QTOPENGL_FOUND

- List QtOpenGL as optional feature

BUG:165674

svn path=/trunk/KDE/kdegames/ksudoku/; revision=827847
parent ca8c9841
......@@ -13,12 +13,10 @@ IF(DEBUG)
ADD_DEFINITIONS(-DDEBUG -ggdb -O)
ENDIF(DEBUG)
# enable OPENGL-support
if(OPENGL_FOUND AND QT_QTOPENGL_FOUND)
# commenting those two lines will remove OpenGL-based variants completely
set(OPENGL_SUPPORT true)
# enable code depending on OPENGL-support
if(OPENGL_SUPPORT)
add_definitions(-DOPENGL_SUPPORT)
endif(OPENGL_FOUND AND QT_QTOPENGL_FOUND)
endif(OPENGL_SUPPORT)
add_subdirectory( src )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment