summaryrefslogtreecommitdiffstats
path: root/Help/policy/CMP0122.rst
blob: 1ff8c48621e3533eda6cd35fe711adc83ac5e323 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
CMP0122
-------

.. versionadded:: 3.21

:module:`UseSWIG` use library name conventions for ``CSharp`` language.

Starting with CMake 3.21, :module:`UseSWIG` generates now a library using
default naming conventions. This policy provides compatibility with projects
that expect the legacy behavior.

This policy was introduced in CMake version 3.21.  CMake version
|release| warns when the policy is not set and uses ``OLD`` behavior.
Use the :command:`cmake_policy` command to set it to ``OLD`` or ``NEW``
explicitly.

.. include:: DEPRECATED.txt