From a42211536b797887b054bd86610aa11bf91f1470 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Thu, 15 Oct 2020 12:16:09 -0400 Subject: [PATCH] fix: new line in PYPY_VERSION --- tools/pybind11Tools.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/pybind11Tools.cmake b/tools/pybind11Tools.cmake index f1c7a76d9..f6ee9788d 100644 --- a/tools/pybind11Tools.cmake +++ b/tools/pybind11Tools.cmake @@ -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}