mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-14 01:23:53 +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)
|
if(NOT DEFINED PYPY_VERSION)
|
||||||
execute_process(
|
execute_process(
|
||||||
COMMAND ${PYTHON_EXECUTABLE} -c
|
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)
|
OUTPUT_VARIABLE pypy_version)
|
||||||
set(PYPY_VERSION
|
set(PYPY_VERSION
|
||||||
${pypy_version}
|
${pypy_version}
|
||||||
|
Loading…
Reference in New Issue
Block a user