Commit f380dc3d authored by Victor Zverovich's avatar Victor Zverovich

Fix error reporting.

parent 9fad54a8
...@@ -17,7 +17,7 @@ function (expect_compile_error code) ...@@ -17,7 +17,7 @@ function (expect_compile_error code)
# just use cached information next time it runs. # just use cached information next time it runs.
unset(compiles CACHE) unset(compiles CACHE)
if (does_compile) if (does_compile)
error("No compile error for: ${code}") message(FATAL_ERROR "No compile error for: ${code}")
endif () endif ()
endfunction () endfunction ()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment