summaryrefslogtreecommitdiff
path: root/Modules/FindPython.cmake
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2020-04-29 11:28:41 +0200
committerMarc Chevrier <marc.chevrier@gmail.com>2020-05-01 15:03:04 +0200
commitc1ef70d4d1e5b37fc6b6a1e14258ee8028ef2b05 (patch)
tree1fa87c4c3b81830adb100d5668baf7fdacf8da5e /Modules/FindPython.cmake
parent6556e587efa8ad954126137c6ca867f1f2797b11 (diff)
downloadcmake-c1ef70d4d1e5b37fc6b6a1e14258ee8028ef2b05.tar.gz
FindPython: Add support for 'PyPy'
Diffstat (limited to 'Modules/FindPython.cmake')
-rw-r--r--Modules/FindPython.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Modules/FindPython.cmake b/Modules/FindPython.cmake
index 93f77a84a5..a97f3c5d9f 100644
--- a/Modules/FindPython.cmake
+++ b/Modules/FindPython.cmake
@@ -85,6 +85,7 @@ This module will set the following variables in your project
* Anaconda
* Canopy
* IronPython
+ * PyPy
``Python_STDLIB``
Standard platform independent installation directory.
@@ -147,6 +148,8 @@ This module will set the following variables in your project
Python minor version.
``Python_VERSION_PATCH``
Python patch version.
+``Python_PyPy_VERSION``
+ Python PyPy version.
``Python_NumPy_FOUND``
System has the NumPy.
``Python_NumPy_INCLUDE_DIRS``
@@ -281,6 +284,9 @@ Hints
* ``IronPython``: This implementation use the ``CSharp`` language for
``.NET Framework`` on top of the `Dynamic Language Runtime` (``DLR``).
See `IronPython <http://ironpython.net>`_.
+ * ``PyPy``: This implementation use ``RPython`` language and
+ ``RPython translation toolchain`` to produce the python interpreter.
+ See `PyPy <https://www.pypy.org>`_.
The default value is the list: ``CPython``, ``IronPython``.