File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -75,13 +75,13 @@ if(CYTHON_EXECUTABLE)
7575 if (NOT ${CYTHON_version_result} EQUAL 0)
7676 set (_error_msg "Command \" ${CYTHON_version_command} \" failed with" )
7777 set (_error_msg "${_error_msg} output:\n ${CYTHON_version_error} " )
78- message (SEND_ERROR "${_error_msg} " )
78+ message (FATAL_ERROR "${_error_msg} " )
7979 elseif ("${CYTHON_version_output} " MATCHES "^[Cc]ython version ([^,]+)" )
8080 set (CYTHON_VERSION "${CMAKE_MATCH_1} " )
8181 elseif ("${CYTHON_version_error} " MATCHES "^[Cc]ython version ([^,]+)" )
8282 set (CYTHON_VERSION "${CMAKE_MATCH_1} " )
8383 else ()
84- message (SEND_ERROR "Invalid Cython version output" )
84+ message (FATAL_ERROR "Invalid Cython version output" )
8585 endif ()
8686endif ()
8787
Original file line number Diff line number Diff line change 7171#=============================================================================
7272
7373if (CMAKE_VERSION VERSION_LESS "3.7" )
74- message (SEND_ERROR "CMake 3.7 required for DEPFILE" )
74+ message (FATAL_ERROR "CMake 3.7 required for DEPFILE" )
7575endif ()
7676
7777function (Cython_compile_pyx)
You can’t perform that action at this time.
0 commit comments