1CMP0103
2-------
3
4.. versionadded:: 3.18
5
6Multiple calls to :command:`export` command with same ``FILE`` without
7``APPEND`` is no longer allowed.
8
9In CMake 3.17 and below, multiple calls to :command:`export` command with the
10same ``FILE`` without ``APPEND`` are accepted silently but only the last
11occurrence is taken into account during the generation.
12
13The ``OLD`` behavior for this policy is to ignore the multiple occurrences of
14 :command:`export` command except the last one.
15
16The ``NEW`` behavior of this policy is to raise an error on second call to
17:command:`export` command with same ``FILE`` without ``APPEND``.
18
19This policy was introduced in CMake version 3.18.  CMake version
20|release| warns when the policy is not set and uses ``OLD`` behavior.
21Use the :command:`cmake_policy` command to set it to ``OLD`` or ``NEW``
22explicitly.
23
24.. include:: DEPRECATED.txt
25