aboutsummaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2023-09-27 19:54:35 +0300
committerJia Tan <jiat0218@gmail.com>2023-10-31 18:44:59 +0800
commit38171492ded6426ddf53d0c200fa8c93fcd02a60 (patch)
treef1bbc40e86f2c5c3b4b5b70f3e6c5c6aa9f4dae6 /windows
parentliblzma: Avoid compiler warning without creating extra symbol. (diff)
downloadxz-38171492ded6426ddf53d0c200fa8c93fcd02a60.tar.xz
CMake: Fix Windows build with Clang/LLVM 17.
llvm-windres 17.0.0 has more accurate emulation of GNU windres, so the hack for GNU windres must now be used with llvm-windres too. LLVM 16.0.6 has the old behavior and there likely won't be more 16.x releases. So we can simply check for >= 17.0.0. The workaround must not be used with Clang that is acting in MSVC mode. This checks for the known environments that need the workaround instead of using "NOT MSVC". See also: https://github.com/llvm/llvm-project/commit/2bcc0fdc58a220cb9921b47ec8a32c85f2511a47
Diffstat (limited to 'windows')
0 files changed, 0 insertions, 0 deletions