mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 15:21:54 +00:00
Fix error reporting.
This commit is contained in:
parent
9fad54a821
commit
f380dc3daa
@ -17,7 +17,7 @@ function (expect_compile_error code)
|
||||
# just use cached information next time it runs.
|
||||
unset(compiles CACHE)
|
||||
if (does_compile)
|
||||
error("No compile error for: ${code}")
|
||||
message(FATAL_ERROR "No compile error for: ${code}")
|
||||
endif ()
|
||||
endfunction ()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user