Please sign in to comment.
build: fix the way lang_cfg.h is generated
This header is generated by running cmake/lang_cfg.cmake and redirecting its stderr. If any warning is emitted by this script, it ends up in the generated header and breaks the build. To avoid such problems: pass the path to the header as an argument to the cmake script and use the cmake 'file' command instead of 'message'. We can't even use message(STATUS...) as - although it prints to stdout as opposed to other types of messages - it prepends all output with a double hyphen.
- Loading branch information...
Showing with 6 additions and 6 deletions.