diff options
author | Andreas Pakulat <apaku@gmx.de> | 2008-08-17 08:18:03 +0000 |
---|---|---|
committer | Andreas Pakulat <apaku@gmx.de> | 2008-08-17 08:18:03 +0000 |
commit | a0918790682dc06ac7a8dfd80cc3b3926f3d7675 (patch) | |
tree | 88fcdd725668a2a03c0a53607d016492c83896b4 | |
parent | 156e9c6ca12b571a26108d4ba4ca36ea740c685a (diff) | |
download | extra-cmake-modules-a0918790682dc06ac7a8dfd80cc3b3926f3d7675.tar.gz extra-cmake-modules-a0918790682dc06ac7a8dfd80cc3b3926f3d7675.tar.bz2 |
Add documentation for KDE_MIN_VERSION variable
svn path=/branches/KDE/4.1/kdelibs/; revision=848170
-rw-r--r-- | modules/FindKDE4Internal.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake index 70ce60ac..a5451d13 100644 --- a/modules/FindKDE4Internal.cmake +++ b/modules/FindKDE4Internal.cmake @@ -216,6 +216,13 @@ # without going all over the place, but still produce better performance. # It's also important to note that gcc cannot detect all warning conditions # unless the optimiser is active. +# +# You can set the variable KDE_MIN_VERSION before calling find_package() +# to depend on a particular kdelibs version. For example to depend on +# KDE 4.1.0 you can use +# +# set(KDE_MIN_VERSION "4.1.0") +# find_package(KDE4 REQUIRED) # _KDE4_PLATFORM_INCLUDE_DIRS is used only internally # _KDE4_PLATFORM_DEFINITIONS is used only internally |