cmake: add python support

FindCython.cmake was taken from
https://github.com/thewtex/cython-cmake-example. The UseCython module
works, but since it is lacking an installation target setup.py will be
used instead.
This commit is contained in:
Peter Wu
2016-02-16 12:17:49 +01:00
parent f407f7f406
commit 9bc6dc7113
6 changed files with 102 additions and 60 deletions

View File

@@ -23,7 +23,5 @@ option(WITH_SPDYLAY "Use spdylay"
${WITH_SPDYLAY_DEFAULT})
option(WITH_MRUBY "Use mruby")
option(WITH_NEVERBLEED "Use neverbleed")
set(CYTHON_PATH "" CACHE PATH "Use cython in given path")
set(CYTHON "" CACHE FILEPATH "The Cython executable")
# vim: ft=cmake: