OVMS3-idf/tools/cmake/scripts/fail.cmake

5 lines
174 B
CMake
Raw Normal View History

# '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)")