Skip to content

[Suggestion] adding cython3 to the CMakeScripts/FindCython.cmake

Yocto rename's cython to cython3 to stop namespace colliding with python2 😞 . I don't think it would hurt anything to add this.

Suggestion

Patch I am using atm for building this.

diff --git a/CMakeScripts/FindCython.cmake b/CMakeScripts/FindCython.cmake
index 6d06de9e..2d006407 100644
--- a/CMakeScripts/FindCython.cmake
+++ b/CMakeScripts/FindCython.cmake
@@ -22,7 +22,7 @@
 # limitations under the License.
 #=============================================================================
 
-find_program( CYTHON_EXECUTABLE NAMES cython cython.py 
+find_program( CYTHON_EXECUTABLE NAMES cython cython.py cython3
               PATHS $ENV{PYTHON_PATH}\\Lib\\site-packages ${PYTHON_PATH}\\Lib\\site-packages)
 
 include( FindPackageHandleStandardArgs )
-- 
2.51.0

Links:

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information