OVMS3-idf/tools/cmake/scripts/fail.cmake
2020-03-22 21:09:23 +08:00

4 lines
147 B
CMake

# 'cmake -E' doesn't have a way to fail outright, so run this script
# with 'cmake -P' to fail a build.
message(FATAL_ERROR "$ENV{FAIL_MESSAGE}")