mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-02 04:09:33 -05:00
FindPython: NumPy target does not depend on Development.Module
Fixes: #27123
This commit is contained in:
@@ -42,10 +42,14 @@ The following components are supported:
|
||||
`Stable Application Binary Interface <https://docs.python.org/3/c-api/stable.html>`_.
|
||||
This component is available only for version ``3.2`` and upper.
|
||||
|
||||
* ``NumPy``: search for NumPy include directories.
|
||||
|
||||
.. versionadded:: 3.14
|
||||
Added the ``NumPy`` component.
|
||||
|
||||
* ``NumPy``: search for NumPy include directories. Specifying this component
|
||||
imply also the components ``Interpreter`` and ``Development.Module``.
|
||||
|
||||
.. versionchanged:: 4.2
|
||||
The component ``Development.Module`` is no longer implied when the policy
|
||||
:policy:`CMP0201` is set to ``NEW``.
|
||||
|
||||
If no ``COMPONENTS`` are specified, ``Interpreter`` is assumed.
|
||||
|
||||
@@ -140,6 +144,11 @@ This module provides the following :ref:`Imported Targets`:
|
||||
.. versionadded:: 3.14
|
||||
|
||||
NumPy library for Python 3. Target defined if component ``NumPy`` is found.
|
||||
Moreover, this target has the ``Python3::Module`` target as dependency.
|
||||
|
||||
.. versionchanged:: 4.2
|
||||
This target does not have anymore the ``Python3::Module`` target as
|
||||
dependency when the policy :policy:`CMP0201` is set to ``NEW``.
|
||||
|
||||
Result Variables
|
||||
^^^^^^^^^^^^^^^^
|
||||
|
||||
Reference in New Issue
Block a user