summaryrefslogtreecommitdiffstats
path: root/Modules/FindPython3.cmake
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2020-04-29 09:28:41 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2020-05-01 13:03:04 (GMT)
commitc1ef70d4d1e5b37fc6b6a1e14258ee8028ef2b05 (patch)
tree1fa87c4c3b81830adb100d5668baf7fdacf8da5e /Modules/FindPython3.cmake
parent6556e587efa8ad954126137c6ca867f1f2797b11 (diff)
downloadCMake-c1ef70d4d1e5b37fc6b6a1e14258ee8028ef2b05.zip
CMake-c1ef70d4d1e5b37fc6b6a1e14258ee8028ef2b05.tar.gz
CMake-c1ef70d4d1e5b37fc6b6a1e14258ee8028ef2b05.tar.bz2
FindPython: Add support for 'PyPy'
Diffstat (limited to 'Modules/FindPython3.cmake')
-rw-r--r--Modules/FindPython3.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Modules/FindPython3.cmake b/Modules/FindPython3.cmake
index 3660ee8..d8fc54a 100644
--- a/Modules/FindPython3.cmake
+++ b/Modules/FindPython3.cmake
@@ -86,6 +86,7 @@ This module will set the following variables in your project
* Anaconda
* Canopy
* IronPython
+ * PyPy
``Python3_STDLIB``
Standard platform independent installation directory.
@@ -148,6 +149,8 @@ This module will set the following variables in your project
Python 3 minor version.
``Python3_VERSION_PATCH``
Python 3 patch version.
+``Python3_PyPy_VERSION``
+ Python 3 PyPy version.
``Python3_NumPy_FOUND``
System has the NumPy.
``Python3_NumPy_INCLUDE_DIRS``
@@ -278,6 +281,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``.