summaryrefslogtreecommitdiffstats
path: root/cmake/modules/FindCython.cmake
blob: 89005b7dd46cdf6f9e1883a48a65e81fd9636c32 (plain)
1
2
3
4
5
6
7
8
9
10
FIND_PROGRAM(CYTHON_EXECUTABLE cython)

INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Cython DEFAULT_MSG CYTHON_EXECUTABLE)

MARK_AS_ADVANCED(CYTHON_EXECUTABLE)

IF(CYTHON_FOUND)
      SET(CYTHON_USE_FILE ${CMAKE_SOURCE_DIR}/cmake/modules/UseCython.cmake)
ENDIF(CYTHON_FOUND)