cmake/Help/policy/DISALLOWED_COMMAND.txt

10 lines
478 B
Plaintext
Raw Normal View History

2014-08-03 19:52:23 +02:00
CMake >= |disallowed_version| prefer that this command never be called.
2019-11-11 23:01:05 +01:00
The ``OLD`` behavior for this policy is to allow the command to be called.
The ``NEW`` behavior for this policy is to issue a ``FATAL_ERROR`` when the
2014-08-03 19:52:23 +02:00
command is called.
This policy was introduced in CMake version |disallowed_version|.
CMake version |release| warns when the policy is not set and uses
2019-11-11 23:01:05 +01:00
``OLD`` behavior. Use the :command:`cmake_policy` command to set it to ``OLD`` or
``NEW`` explicitly.