mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-24 16:49:18 -06:00
FindPython*: Document suggested find_package order (#13794)
Document in both FindPythonInterp.cmake and FindPythonLibs.cmake that find_package(PythonInterp) should be called before find_package(PythonLibs).
This commit is contained in:
committed by
Brad King
parent
a9e6de2acc
commit
5922019802
@@ -27,6 +27,10 @@
|
||||
# of version numbers that should be taken into account when searching
|
||||
# for Python. You need to set this variable before calling
|
||||
# find_package(PythonInterp).
|
||||
#
|
||||
# If also calling 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 2005-2010 Kitware, Inc.
|
||||
|
||||
Reference in New Issue
Block a user