summaryrefslogtreecommitdiffstats
path: root/Modules/FindPythonLibs.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-03-14 13:30:24 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-03-14 13:30:24 (GMT)
commit92b423fc2f504c645405669ffa5659c2268c6445 (patch)
tree6eb5a6581864b4dd2bfd7d3aa2aad08bd57c50a9 /Modules/FindPythonLibs.cmake
parent32b7d2ed8a4286de5db18883b1db7cdc4f902598 (diff)
parent59220198022d2e081ddba164c1ec62a6e9d438eb (diff)
downloadCMake-92b423fc2f504c645405669ffa5659c2268c6445.zip
CMake-92b423fc2f504c645405669ffa5659c2268c6445.tar.gz
CMake-92b423fc2f504c645405669ffa5659c2268c6445.tar.bz2
Merge topic 'different-python-header-libs-exe-0013794'
59220198 FindPython*: Document suggested find_package order (#13794) a9e6de2a FindPythonInterp: Use consistent version with PythonLibs (#13794)
Diffstat (limited to 'Modules/FindPythonLibs.cmake')
-rw-r--r--Modules/FindPythonLibs.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/FindPythonLibs.cmake b/Modules/FindPythonLibs.cmake
index 40c7d50..cc875ad 100644
--- a/Modules/FindPythonLibs.cmake
+++ b/Modules/FindPythonLibs.cmake
@@ -31,6 +31,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.
#=============================================================================
# Copyright 2001-2009 Kitware, Inc.