【发布时间】:2013-06-03 23:00:33
【问题描述】:
cmake_minimum_required 命令的 documentation 表示:
The FATAL_ERROR option is accepted but ignored by CMake 2.6 and higher.
It should be specified so CMake versions 2.4 and lower fail with an error
instead of just a warning.
但是,它没有说明FATAL_ERROR 的有效选项是什么 - 我是否遗漏了一些非常明显的东西?
【问题讨论】:
-
@KyleKanos 你能解释一下
cmake_minimum_required中的FATAL_ERROR选项应该是什么吗?一个字符串?message的论点与cmake_minimum_required的论点有何关系? -
FATAL_ERROR 不是一个选项,它是选项。