Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/cython_cmake/cmake/FindCython.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,13 @@ if(CYTHON_EXECUTABLE)
if(NOT ${CYTHON_version_result} EQUAL 0)
set(_error_msg "Command \"${CYTHON_version_command}\" failed with")
set(_error_msg "${_error_msg} output:\n${CYTHON_version_error}")
message(SEND_ERROR "${_error_msg}")
message(FATAL_ERROR "${_error_msg}")
elseif("${CYTHON_version_output}" MATCHES "^[Cc]ython version ([^,]+)")
set(CYTHON_VERSION "${CMAKE_MATCH_1}")
elseif("${CYTHON_version_error}" MATCHES "^[Cc]ython version ([^,]+)")
set(CYTHON_VERSION "${CMAKE_MATCH_1}")
else()
message(SEND_ERROR "Invalid Cython version output")
message(FATAL_ERROR "Invalid Cython version output")
endif()
endif()

Expand Down
2 changes: 1 addition & 1 deletion src/cython_cmake/cmake/UseCython.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
#=============================================================================

if(CMAKE_VERSION VERSION_LESS "3.7")
message(SEND_ERROR "CMake 3.7 required for DEPFILE")
message(FATAL_ERROR "CMake 3.7 required for DEPFILE")
endif()

function(Cython_compile_pyx)
Expand Down