aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2023-10-01 19:10:57 +0300
committerLasse Collin <lasse.collin@tukaani.org>2023-10-26 18:58:21 +0300
commite67aaf698de75c73443a5ec786781cbf2034461d (patch)
tree72b6c62be251c6168164e18fb3b72a523f4ea803 /CMakeLists.txt
parentBuild: Detect -fsanitize= in CFLAGS and incompatible build options. (diff)
downloadxz-e67aaf698de75c73443a5ec786781cbf2034461d.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.
Diffstat (limited to '')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 00071103..82cdde21 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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.