Forráskód Böngészése

FindPythonLibs: Document cache variables (#13240)

Add information on how to change which install of Python is found
by CMake.
Zack Galbreath 13 éve
szülő
commit
c5c9af5a73
1 módosított fájl, 5 hozzáadás és 0 törlés
  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.