mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-11 08:03:55 +00:00
fix: new line in PYPY_VERSION
This commit is contained in:
parent
ad2fe0ee7b
commit
a42211536b
@ -69,7 +69,7 @@ if(PYBIND11_MASTER_PROJECT)
|
||||
if(NOT DEFINED PYPY_VERSION)
|
||||
execute_process(
|
||||
COMMAND ${PYTHON_EXECUTABLE} -c
|
||||
[=[import sys; print(".".join(map(str, sys.pypy_version_info[:3])))]=]
|
||||
[=[import sys; sys.stdout.write(".".join(map(str, sys.pypy_version_info[:3])))]=]
|
||||
OUTPUT_VARIABLE pypy_version)
|
||||
set(PYPY_VERSION
|
||||
${pypy_version}
|
||||
|
Loading…
Reference in New Issue
Block a user