summaryrefslogtreecommitdiffstats
path: root/Modules/FindPythonLibs.cmake
diff options
context:
space:
mode:
authorZack Galbreath <zack.galbreath@kitware.com>2012-05-21 15:12:03 (GMT)
committerBrad King <brad.king@kitware.com>2012-05-22 18:21:00 (GMT)
commitc5c9af5a73b7ab7d91f5f86df09502c7a9637c1e (patch)
tree2b98b2c9ef978f6c27fc3b0a6d94822c4b0eb97e /Modules/FindPythonLibs.cmake
parent4af648041dd1f5589bd117145b091fc088aee56e (diff)
downloadCMake-c5c9af5a73b7ab7d91f5f86df09502c7a9637c1e.zip
CMake-c5c9af5a73b7ab7d91f5f86df09502c7a9637c1e.tar.gz
CMake-c5c9af5a73b7ab7d91f5f86df09502c7a9637c1e.tar.bz2
FindPythonLibs: Document cache variables (#13240)
Add information on how to change which install of Python is found by CMake.
Diffstat (limited to 'Modules/FindPythonLibs.cmake')
-rw-r--r--Modules/FindPythonLibs.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/FindPythonLibs.cmake b/Modules/FindPythonLibs.cmake
index 591b3e6..478ebcb 100644
--- a/Modules/FindPythonLibs.cmake
+++ b/Modules/FindPythonLibs.cmake
@@ -13,6 +13,11 @@
# 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).
+#
+# If you'd like to specify the installation of Python to use, you should modify
+# the following cache variables:
+# PYTHON_LIBRARY - path to the python library
+# PYTHON_INCLUDE_DIR - path to where Python.h is found
#=============================================================================
# Copyright 2001-2009 Kitware, Inc.