will this make dashboard happy? tune in next compile! same bat-compiler, same bat-cpu.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692078
This commit is contained in:
Aaron J. Seigo 2007-07-25 00:25:17 +00:00
parent d661a64be4
commit 0bc4d740f9

View File

@ -1,5 +1,7 @@
include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${KDEBASE_WORKSPACE_SOURCE_DIR}/libs) include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${KDEBASE_WORKSPACE_SOURCE_DIR}/libs)
find_package(OpenGL)
########### next target ############### ########### next target ###############
set(plasmagik_SRCS set(plasmagik_SRCS
@ -38,11 +40,12 @@ set(plasma_LIB_SRCS
widgets/flash.cpp widgets/flash.cpp
) )
if(QT_QTOPENGL_FOUND) if(QT_QTOPENGL_FOUND AND OPENGL_FOUND)
MESSAGE(STATUS "Adding support for OpenGL applets to libplasma")
set(plasma_LIB_SRCS set(plasma_LIB_SRCS
${plasma_LIB_SRCS} ${plasma_LIB_SRCS}
glapplet.cpp) glapplet.cpp)
endif(QT_QTOPENGL_FOUND) endif(QT_QTOPENGL_FOUND AND OPENGL_FOUND)
kde4_add_library(plasma SHARED ${plasma_LIB_SRCS}) kde4_add_library(plasma SHARED ${plasma_LIB_SRCS})
@ -78,10 +81,10 @@ set(plasma_LIB_INCLUDES
svg.h svg.h
theme.h) theme.h)
if(QT_QTOPENGL_FOUND) if(QT_QTOPENGL_FOUND AND OPENGL_FOUND)
set(plasma_LIB_INCLUDES set(plasma_LIB_INCLUDES
glapplet.h) glapplet.h)
endif(QT_QTOPENGL_FOUND) endif(QT_QTOPENGL_FOUND AND OPENGL_FOUND)
install(FILES install(FILES
${plasma_LIB_INCLUDES} ${plasma_LIB_INCLUDES}