summaryrefslogtreecommitdiffstats
path: root/Modules/FindPython2.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/FindPython2.cmake
parent6556e587efa8ad954126137c6ca867f1f2797b11 (diff)
downloadCMake-c1ef70d4d1e5b37fc6b6a1e14258ee8028ef2b05.zip
CMake-c1ef70d4d1e5b37fc6b6a1e14258ee8028ef2b05.tar.gz
CMake-c1ef70d4d1e5b37fc6b6a1e14258ee8028ef2b05.tar.bz2
FindPython: Add support for 'PyPy'
Diffstat (limited to 'Modules/FindPython2.cmake')
-rw-r--r--Modules/FindPython2.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Modules/FindPython2.cmake b/Modules/FindPython2.cmake
index def6f3c..4ef0e5a 100644
--- a/Modules/FindPython2.cmake
+++ b/Modules/FindPython2.cmake
@@ -86,6 +86,7 @@ This module will set the following variables in your project
* Anaconda
* Canopy
* IronPython
+ * PyPy
``Python2_STDLIB``
Standard platform independent installation directory.
@@ -139,6 +140,8 @@ This module will set the following variables in your project
Python 2 minor version.
``Python2_VERSION_PATCH``
Python 2 patch version.
+``Python2_PyPy_VERSION``
+ Python 2 PyPy version.
``Python2_NumPy_FOUND``
System has the NumPy.
``Python2_NumPy_INCLUDE_DIRS``
@@ -228,6 +231,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``.