浏览代码

FindPythonLibs: Document cache variables (#13240)

Add information on how to change which install of Python is found
by CMake.
Zack Galbreath 13 年之前
父节点
当前提交
c5c9af5a73
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      Modules/FindPythonLibs.cmake

+ 5 - 0
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.