From 5c4bb611d18fe5e4b4aecb29dc93fc647de86dc4 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Fri, 21 Oct 2022 11:25:13 -0400 Subject: [PATCH] find cythonize executable on recent FreeBSD versions --- cmake/Modules/FindCythonize.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Modules/FindCythonize.cmake b/cmake/Modules/FindCythonize.cmake index 2a4cc753e8..97f0304279 100644 --- a/cmake/Modules/FindCythonize.cmake +++ b/cmake/Modules/FindCythonize.cmake @@ -22,7 +22,7 @@ endif() if(Python_EXECUTABLE) get_filename_component(_python_path ${Python_EXECUTABLE} PATH) find_program(Cythonize_EXECUTABLE - NAMES cythonize3 cythonize cythonize.bat + NAMES cythonize-${Python_VERSION_MAJOR}.${Python_VERSION_MINOR} cythonize3 cythonize cythonize.bat HINTS ${_python_path}) endif()