Allow kdelibs/kdebase compile without glu library (review 6213)

svn path=/trunk/KDE/kdelibs/; revision=1209642
This commit is contained in:
Andriy Rysin 2010-12-27 19:12:37 +00:00
parent f41ce1601b
commit c56c74054f

View File

@ -231,12 +231,12 @@ kde4_add_ui_files(plasma_LIB_SRCS
# TEST_INCLUDES
#)
if(QT_QTOPENGL_FOUND AND OPENGL_FOUND)
if(QT_QTOPENGL_FOUND AND OPENGL_FOUND AND OPENGL_GLU_FOUND)
message(STATUS "Adding support for OpenGL applets to libplasma")
set(plasma_LIB_SRCS
${plasma_LIB_SRCS}
glapplet.cpp)
endif(QT_QTOPENGL_FOUND AND OPENGL_FOUND)
endif(QT_QTOPENGL_FOUND AND OPENGL_FOUND AND OPENGL_GLU_FOUND)
if (PHONON_FOUND)
message(STATUS "Adding support for Phonon to libplasma")