Verified Commit e07f69f2 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

cmake: fix variable

parent 37104175
......@@ -150,9 +150,10 @@ IF(BUILD_PYTHON_INTERFACE)
OUTPUT_VARIABLE _python_implementation_value
OUTPUT_STRIP_TRAILING_WHITESPACE
ERROR_QUIET)
MESSAGE(STATUS "Python compiler: ${_python_implementation_value}")
IF(_python_implementation_value MATCHES "PyPy")
SET(BUILD_PYTHON_INTERFACE_WITH_PYPY)
SET(BUILD_PYTHON_INTERFACE_WITH_PYPY TRUE)
ENDIF()
ELSE(BUILD_PYTHON_INTERFACE)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment