From: Lasse Collin Date: Sun, 1 Oct 2023 16:10:57 +0000 (+0300) Subject: CMake/Windows: Fix the import library filename. X-Git-Tag: v5.2.13~58 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23f50b81084889262916bbaef684790339ce443d;p=thirdparty%2Fxz.git CMake/Windows: Fix the import library filename. Both PREFIX and IMPORT_PERFIX have to be set to "" to get liblzma.dll and liblzma.dll.a. (cherry picked from commit da4d04e4d6e199d28b58bd2e0df4e120c52dd5d7) --- diff --git a/CMakeLists.txt b/CMakeLists.txt index dd51b91a..27580d03 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -504,6 +504,7 @@ set_target_properties(liblzma PROPERTIES # It's liblzma.so or liblzma.dll, not libliblzma.so or lzma.dll. # Avoid the name lzma.dll because it would conflict with LZMA SDK. PREFIX "" + IMPORT_PREFIX "" ) # Create liblzma-config-version.cmake. We use this spelling instead of