diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2023-10-01 19:10:57 +0300 |
---|---|---|
committer | Jia Tan <jiat0218@gmail.com> | 2023-10-31 18:44:59 +0800 |
commit | da4d04e4d6e199d28b58bd2e0df4e120c52dd5d7 (patch) | |
tree | 6816c90ce3a40814eebb9802e1f4a5b24b022483 | |
parent | CMake: Don't shadow the cache entry ENABLE_THREADS with a normal variable. (diff) | |
download | xz-da4d04e4d6e199d28b58bd2e0df4e120c52dd5d7.tar.xz |
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.
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 687f9e3e..a2b69231 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -895,6 +895,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. |