diff options
author | Brad King <brad.king@kitware.com> | 2021-03-26 14:52:30 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-03-26 15:01:34 (GMT) |
commit | e34d64c04d5715710a811325ce68a1481a514d3c (patch) | |
tree | f85c22e046193eb2f4f18c20c29d63923243b8f2 /Help/release/3.20.rst | |
parent | cb0d1a49e67456612b6b211a52042e23a6bc9452 (diff) | |
download | CMake-e34d64c04d5715710a811325ce68a1481a514d3c.zip CMake-e34d64c04d5715710a811325ce68a1481a514d3c.tar.gz CMake-e34d64c04d5715710a811325ce68a1481a514d3c.tar.bz2 |
FindIntl: Fix detection of intl built in to C library
Since commit c30d06b7e6 (FindIntl: Add imported target, 2020-10-06,
v3.20.0-rc1~687^2) we use `check_symbol_exists` to check whether the
`intl` library is built in to the C library. On some platforms the
tested symbols are provided as macros so the check passes without
linking any symbol. Instead, check whether a sample source file both
compiles and links.
Fixes: #21979
Diffstat (limited to 'Help/release/3.20.rst')
-rw-r--r-- | Help/release/3.20.rst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Help/release/3.20.rst b/Help/release/3.20.rst index 176447d..9991eab 100644 --- a/Help/release/3.20.rst +++ b/Help/release/3.20.rst @@ -327,3 +327,17 @@ Other Changes `cmake.org <https://cmake.org/download/>`_ have changed their naming pattern to ``cmake-$ver-windows-$arch``, where ``$arch`` is either ``x86_64`` or ``i386``. + +Updates +======= + +Changes made since CMake 3.20.0 include the following. + +3.20.1 +------ + +* The :module:`FindIntl` module in CMake 3.20.0 added checks + ``Intl_HAVE_GETTEXT_BUILTIN``, ``Intl_HAVE_DCGETTEXT_BUILTIN``, + and ``Intl_IS_BUILTIN``, but they were not implemented correctly. + These have been removed and replaced with a single ``Intl_IS_BUILT_IN`` + check, whose name is consistent with the :module:`FindIconv` module. |