summaryrefslogtreecommitdiff
path: root/Modules/FindPythonInterp.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/FindPythonInterp.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/FindPythonInterp.cmake')
-rw-r--r--Modules/FindPythonInterp.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/FindPythonInterp.cmake b/Modules/FindPythonInterp.cmake
index 5c1d56bbfc..930f6756f1 100644
--- a/Modules/FindPythonInterp.cmake
+++ b/Modules/FindPythonInterp.cmake
@@ -10,7 +10,9 @@
# PYTHON_VERSION_MINOR - Python minor version found e.g. 5
# PYTHON_VERSION_PATCH - Python patch version found e.g. 2
#
-# 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(PythonInterp).
#=============================================================================
# Copyright 2005-2010 Kitware, Inc.