Skip to content

Commit

Permalink
SundialsLapack.cmake: fix undefined print_error() call
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Valgur <martin.valgur@gmail.com>
  • Loading branch information
valgur committed Sep 11, 2024
1 parent c28eaa3 commit 449dca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/tpl/SundialsLapack.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ endif()

# LAPACK does not support extended precision
if(ENABLE_LAPACK AND SUNDIALS_PRECISION MATCHES "EXTENDED")
print_error("LAPACK is not compatible with ${SUNDIALS_PRECISION} precision")
message(FATAL_ERROR "LAPACK is not compatible with ${SUNDIALS_PRECISION} precision")
endif()

# -----------------------------------------------------------------------------
Expand Down

0 comments on commit 449dca6

Please sign in to comment.