aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/FindKDE4Internal.cmake7
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