From c5c9af5a73b7ab7d91f5f86df09502c7a9637c1e Mon Sep 17 00:00:00 2001 From: Zack Galbreath Date: Mon, 21 May 2012 11:12:03 -0400 Subject: FindPythonLibs: Document cache variables (#13240) Add information on how to change which install of Python is found by CMake. --- Modules/FindPythonLibs.cmake | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Modules/FindPythonLibs.cmake') diff --git a/Modules/FindPythonLibs.cmake b/Modules/FindPythonLibs.cmake index 591b3e6cf2..478ebcb0bf 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. -- cgit v1.2.1