diff options
Diffstat (limited to 'debian/patches/0001-Force-Python-3-detection.patch')
-rw-r--r-- | debian/patches/0001-Force-Python-3-detection.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/debian/patches/0001-Force-Python-3-detection.patch b/debian/patches/0001-Force-Python-3-detection.patch new file mode 100644 index 00000000..828025a6 --- /dev/null +++ b/debian/patches/0001-Force-Python-3-detection.patch @@ -0,0 +1,32 @@ +From: Gard Spreemann <gspreemann@gmail.com> +Date: Fri, 15 Jun 2018 13:17:30 +0200 +Subject: Force Python 3 detection. + +--- + cmake/modules/FindCython.cmake | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/cmake/modules/FindCython.cmake b/cmake/modules/FindCython.cmake +index 04aed1f..f3a5b7b 100644 +--- a/cmake/modules/FindCython.cmake ++++ b/cmake/modules/FindCython.cmake +@@ -24,16 +24,16 @@ + + # Use the Cython executable that lives next to the Python executable + # if it is a local installation. +-find_package( PythonInterp ) ++find_package( PythonInterp 3 ) + if( PYTHONINTERP_FOUND ) + get_filename_component( _python_path ${PYTHON_EXECUTABLE} PATH ) + find_program( CYTHON_EXECUTABLE +- NAMES cython cython.bat cython3 ++ NAMES cython3 + HINTS ${_python_path} + ) + else() + find_program( CYTHON_EXECUTABLE +- NAMES cython cython.bat cython3 ++ NAMES cython3 + ) + endif() + |