1CMP0107
2-------
3
4.. versionadded:: 3.18
5
6It is not allowed to create an ``ALIAS`` target with the same name as an
7another target.
8
9In CMake 3.17 and below, an ``ALIAS`` target can overwrite silently an existing
10target with the same name.
11
12The ``OLD`` behavior for this policy is to allow target overwrite.
13
14The ``NEW`` behavior of this policy is to prevent target overwriting.
15
16This policy was introduced in CMake version 3.17.  Use the
17:command:`cmake_policy` command to set it to ``OLD`` or ``NEW`` explicitly.
18Unlike many policies, CMake version |release| does *not* warn
19when this policy is not set and simply uses ``OLD`` behavior.
20
21.. include:: DEPRECATED.txt
22