FindPython{Interp,Libs}: Clarify recommended call order

Improve wording in our advice about how to call both of these modules.
This commit is contained in:
Brad King 2016-03-07 10:56:31 -05:00
parent a5a5a68572
commit 743f2a8031
2 changed files with 8 additions and 6 deletions

View File

@ -28,9 +28,10 @@
# for Python. You need to set this variable before calling # for Python. You need to set this variable before calling
# find_package(PythonInterp). # find_package(PythonInterp).
# #
# If also calling find_package(PythonLibs), call find_package(PythonInterp) # If calling both ``find_package(PythonInterp)`` and
# first to get the currently active Python version by default with a consistent # ``find_package(PythonLibs)``, call ``find_package(PythonInterp)`` first to
# version of PYTHON_LIBRARIES. # get the currently active Python version by default with a consistent version
# of PYTHON_LIBRARIES.
#============================================================================= #=============================================================================
# Copyright 2005-2010 Kitware, Inc. # Copyright 2005-2010 Kitware, Inc.

View File

@ -32,9 +32,10 @@
# PYTHON_LIBRARY - path to the python library # PYTHON_LIBRARY - path to the python library
# PYTHON_INCLUDE_DIR - path to where Python.h is found # PYTHON_INCLUDE_DIR - path to where Python.h is found
# #
# If also calling find_package(PythonInterp), call find_package(PythonInterp) # If calling both ``find_package(PythonInterp)`` and
# first to get the currently active Python version by default with a consistent # ``find_package(PythonLibs)``, call ``find_package(PythonInterp)`` first to
# version of PYTHON_LIBRARIES. # get the currently active Python version by default with a consistent version
# of PYTHON_LIBRARIES.
#============================================================================= #=============================================================================
# Copyright 2001-2009 Kitware, Inc. # Copyright 2001-2009 Kitware, Inc.