From c56c74054f55160936f497742488718f0b731f24 Mon Sep 17 00:00:00 2001 From: Andriy Rysin Date: Mon, 27 Dec 2010 19:12:37 +0000 Subject: [PATCH] Allow kdelibs/kdebase compile without glu library (review 6213) svn path=/trunk/KDE/kdelibs/; revision=1209642 --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c62f066ff..991a20213 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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")