mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
cb158f1194
Avoid either breaking menuconfig (if cmake fails), or producing bad build output (if cmake succeeds but no flashing offsets, etc. were generated.)
5 lines
174 B
CMake
5 lines
174 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 "Failing the build (see errors on lines above)")
|
|
|