cmake: utility to create a failing target
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# 'cmake -E' doesn't have a way to fail outright, so run this script
|
||||
# with 'cmake -P' to fail a build.
|
||||
message(FATAL_ERROR "Failing the build (see errors on lines above)")
|
||||
message(FATAL_ERROR "$ENV{FAIL_MESSAGE}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user