Skip to content

Commit

Permalink
fix: new line in PYPY_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii committed Oct 15, 2020
1 parent ad2fe0e commit a422115
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/pybind11Tools.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit a422115

Please sign in to comment.