提问人:François Beaune 提问时间:11/17/2023 更新时间:11/17/2023 访问量:27
将有关未使用选项的 CMake 警告变成致命错误
Turn CMake warning about unused options into fatal error
问:
如果未使用手动指定的 CMake 选项,CMake 将发出以下警告消息:
CMake Warning:
Manually-specified variables were not used by the project:
MYVARIABLE
这有时表明变量名称拼写错误。
有没有办法将此警告变成致命错误?
答: 暂无答案
评论
CMakeLists.txt