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

4 wiersze
146 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}")