summaryrefslogtreecommitdiff
path: root/Modules/FindPythonLibs.cmake
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2012-02-21 20:52:27 +0100
committerRolf Eike Beer <eike@sf-mail.de>2012-02-22 17:20:15 +0100
commitbbddaeef7e2c65994812ccee0a92744f4777175c (patch)
tree16015acdd92662559cdb5a272abeb6c267570ccb /Modules/FindPythonLibs.cmake
parent6a1c5a356911d3b75e60ecad86d7538e6de888f9 (diff)
downloadcmake-bbddaeef7e2c65994812ccee0a92744f4777175c.tar.gz
FindPython{Interp,Libs}: document Python_ADDITIONAL_VERSIONS as input
The current documentation could be read as if that variable is output from the module, which is nonsense.
Diffstat (limited to 'Modules/FindPythonLibs.cmake')
-rw-r--r--Modules/FindPythonLibs.cmake5
1 files changed, 4 insertions, 1 deletions
diff --git a/Modules/FindPythonLibs.cmake b/Modules/FindPythonLibs.cmake
index da7a1ac939..049a36f3df 100644
--- a/Modules/FindPythonLibs.cmake
+++ b/Modules/FindPythonLibs.cmake
@@ -8,7 +8,10 @@
# PYTHON_INCLUDE_PATH - path to where Python.h is found (deprecated)
# PYTHON_INCLUDE_DIRS - path to where Python.h is found
# PYTHON_DEBUG_LIBRARIES - path to the debug library
-# Python_ADDITIONAL_VERSIONS - list of additional Python versions to search for
+#
+# The Python_ADDITIONAL_VERSIONS variable can be used to specify a list of
+# version numbers that should be taken into account when searching for Python.
+# You need to set this variable before calling find_package(PythonLibs).
#=============================================================================
# Copyright 2001-2009 Kitware, Inc.