diff options
author | Alexander Neundorf <neundorf@kde.org> | 2009-01-04 17:58:19 +0000 |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2009-01-04 17:58:19 +0000 |
commit | 825dc168ed09e440f4d1d0048d3e25a4b21f3051 (patch) | |
tree | 49e8b1fa29c6322d2fe7f30876d92d9f5fef64e0 | |
parent | 87c903a8e853eec433860818a01040da8d1c5f1a (diff) | |
download | extra-cmake-modules-825dc168ed09e440f4d1d0048d3e25a4b21f3051.tar.gz extra-cmake-modules-825dc168ed09e440f4d1d0048d3e25a4b21f3051.tar.bz2 |
-add a test for plasma/glapplet.h to see whether the plasma opengl support is installed
(this test was previously in FindPlasma.cmake but at least in trunk/KDE/ never executed, so in the only place
where the result was used (kdeplasma-addons/applets/) the result was always wrong)
Alex
svn path=/trunk/KDE/kdelibs/; revision=905603
-rw-r--r-- | modules/FindKDE4Internal.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake index 86ab17f7..1587bdf0 100644 --- a/modules/FindKDE4Internal.cmake +++ b/modules/FindKDE4Internal.cmake @@ -46,6 +46,8 @@ # KDE4_KFORMULA_LIBRARY - the kformula library # KDE4_PLASMA_LIBRARY - the plasma library # +# KDE4_PLASMA_OPENGL_FOUND - TRUE if the OpenGL support of Plasma has been found, NOTFOUND otherwise +# # Compared to the variables above, the following variables # also contain all of the depending libraries, so the variables below # should be used instead of the ones above: @@ -493,6 +495,9 @@ else (_kdeBootStrapping) set(KDE4_INCLUDE_DIR ${KDE4_INCLUDE_INSTALL_DIR} ) + # This setting is currently not recorded in KDELibsDependencies.cmake: + find_file(KDE4_PLASMA_OPENGL_FOUND plasma/glapplet.h PATHS ${KDE4_INCLUDE_DIR} NO_DEFAULT_PATH) + # now include the file with the imported tools (executable targets) # Having the libs and tools in two separate files should help with cross compiling. include(${kde_cmake_module_dir}/KDELibsToolsTargets.cmake) |