summaryrefslogtreecommitdiffstats
path: root/Modules/FindPythonLibs.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-03-07 15:56:31 (GMT)
committerBrad King <brad.king@kitware.com>2016-03-07 15:56:31 (GMT)
commit743f2a803143e8947df007048bdd3780722ead58 (patch)
treee70cda8436384f3a273fd0105ef7fac14991cf02 /Modules/FindPythonLibs.cmake
parenta5a5a6857241c21d306661d723b749839f4c6e1a (diff)
downloadCMake-743f2a803143e8947df007048bdd3780722ead58.zip
CMake-743f2a803143e8947df007048bdd3780722ead58.tar.gz
CMake-743f2a803143e8947df007048bdd3780722ead58.tar.bz2
FindPython{Interp,Libs}: Clarify recommended call order
Improve wording in our advice about how to call both of these modules.
Diffstat (limited to 'Modules/FindPythonLibs.cmake')
-rw-r--r--Modules/FindPythonLibs.cmake7
1 files changed, 4 insertions, 3 deletions
diff --git a/Modules/FindPythonLibs.cmake b/Modules/FindPythonLibs.cmake
index 68e1228..ab92f86 100644
--- a/Modules/FindPythonLibs.cmake
+++ b/Modules/FindPythonLibs.cmake
@@ -32,9 +32,10 @@
# PYTHON_LIBRARY - path to the python library
# PYTHON_INCLUDE_DIR - path to where Python.h is found
#
-# If also calling find_package(PythonInterp), call find_package(PythonInterp)
-# first to get the currently active Python version by default with a consistent
-# version of PYTHON_LIBRARIES.
+# If calling both ``find_package(PythonInterp)`` and
+# ``find_package(PythonLibs)``, call ``find_package(PythonInterp)`` first to
+# get the currently active Python version by default with a consistent version
+# of PYTHON_LIBRARIES.
#=============================================================================
# Copyright 2001-2009 Kitware, Inc.