]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
CMake/Windows: Fix the import library filename.
authorLasse Collin <lasse.collin@tukaani.org>
Sun, 1 Oct 2023 16:10:57 +0000 (19:10 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Thu, 26 Oct 2023 15:58:21 +0000 (18:58 +0300)
Both PREFIX and IMPORT_PERFIX have to be set to "" to get
liblzma.dll and liblzma.dll.a.

CMakeLists.txt

index 00071103fe6a5f82d4c6a98a9ce9feb4600ba7eb..82cdde210b958a2370b9fc669092801f1dd2e14f 100644 (file)
@@ -931,6 +931,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.