diff options
author | Allen Winter <allen.winter@kdab.com> | 2011-06-28 17:13:05 -0400 |
---|---|---|
committer | Allen Winter <allen.winter@kdab.com> | 2011-06-28 17:13:05 -0400 |
commit | e15ffacc69242c89107afbfda6f8ece9f2b56633 (patch) | |
tree | 34bed177321c49f883d9d75616947a18f38c037f /modules/FindPlasma.cmake | |
parent | 5c79bed7250cb2f854bfb4f20e4d266925d94b54 (diff) | |
parent | c06badd8d431583071cad638fea082ca0776a0a3 (diff) | |
download | extra-cmake-modules-e15ffacc69242c89107afbfda6f8ece9f2b56633.tar.gz extra-cmake-modules-e15ffacc69242c89107afbfda6f8ece9f2b56633.tar.bz2 |
Merge branch 'allen' of /data/kde/trunk/KDE/kdelibs
Diffstat (limited to 'modules/FindPlasma.cmake')
-rw-r--r-- | modules/FindPlasma.cmake | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/modules/FindPlasma.cmake b/modules/FindPlasma.cmake new file mode 100644 index 00000000..72d07c79 --- /dev/null +++ b/modules/FindPlasma.cmake @@ -0,0 +1,20 @@ + +# FindPlasma.cmake was part of KDE 4.1, but Plasma itself didn't guarantee compatibility before 4.2, +# so anything which relied on Plasma < 4.2 is broken anyway with KDE 4.2. +# So since the package itself didn't keep compatibility, it doesn't make sense to provide +# this file just to keep compatibility for the cmake part, this doesn't help anybody. +# Especially now that plasma is part of kdelibs and as such the variables required +# for using plasma are set by FindKDE4Internal.cmake. +# This file is not used anywhere in trunk/KDE/ anymore, 3rd party projects get a +# error message which tells them what to do, so we should be fine. +# Alex +# + +message(FATAL_ERROR "FindPlasma.cmake is deprecated. Now with KDE 4.2 Plasma is part of kdelibs and automatically found using find_package(KDE4) instead. +Replace the variables previously coming from FindPlasma.cmake as follows: +PLASMA_OPENGL_FOUND -> KDE4_PLASMA_OPENGL_FOUND +PLASMA_LIBS -> KDE4_PLASMA_LIBS +PLASMA_INCLUDE_DIR -> KDE4_INCLUDE_DIR or KDE4_INCLUDES, should be already set anyway +PLASMA_FOUND -> nothing, it's always there if KDE4, version 4.2 or newer has been found. +If you see this error message in a module within KDE/, update it from svn, it has been fixed already. +") |