]> git.ipfire.org Git - thirdparty/xz.git/commit
CMake: Bump maximum policy version to 3.31
authorLasse Collin <lasse.collin@tukaani.org>
Sun, 15 Dec 2024 17:08:32 +0000 (19:08 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Wed, 18 Dec 2024 17:22:00 +0000 (19:22 +0200)
commit3e0bc4e91fb4f50541884256d764b92e2b65fbe8
tree3c01598c5c3dd73be4a8e27a7561cd74287ee13c
parent55127b25f268581324c61d3c51cd7bbb03851f02
CMake: Bump maximum policy version to 3.31

With CMake 3.31, there were a few warnings from
CMP0177 "install() DESTINATION paths are normalized".
These occurred because the install(FILES) command in
my_install_man_lang() is called with a DESTINATION path
that contains two consecutive slashes, for example,
"share/man//man1". Such a path is for the English man pages.
With translated man pages, the language code goes between
the slashes. The warning was probably triggered because the
extra slash gets removed by the normalization.

(cherry picked from commit 61feaf681bd793dc5c919732b44bca7dcf2ed1b8)
CMakeLists.txt