1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

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.
This commit is contained in:
Lasse Collin 2023-10-01 19:10:57 +03:00
parent 88588b1246
commit e67aaf698d

View file

@ -931,6 +931,7 @@ set_target_properties(liblzma PROPERTIES
# It's liblzma.so or liblzma.dll, not libliblzma.so or lzma.dll. # 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. # Avoid the name lzma.dll because it would conflict with LZMA SDK.
PREFIX "" PREFIX ""
IMPORT_PREFIX ""
) )
# Create liblzma-config-version.cmake. # Create liblzma-config-version.cmake.