mirror of
https://git.tukaani.org/xz.git
synced 2025-04-20 06:30:50 +00: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. (cherry picked from commit da4d04e4d6e199d28b58bd2e0df4e120c52dd5d7)
This commit is contained in:
parent
aa2723888a
commit
23f50b8108
@ -504,6 +504,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. We use this spelling instead of
|
# Create liblzma-config-version.cmake. We use this spelling instead of
|
||||||
|
Loading…
x
Reference in New Issue
Block a user