[liblzma] Fix issue that exports incorrect definition (#9192)

This commit is contained in:
Phoebe 2020-01-07 07:06:53 +08:00 committed by dan-shaw
parent f9b577e74f
commit 59b1a8a791
2 changed files with 2 additions and 2 deletions

View File

@ -142,7 +142,7 @@ if(BUILD_SHARED_LIBS)
else()
target_compile_definitions(LibLZMA PUBLIC -DLZMA_API_STATIC)
endif()
target_compile_definitions(LibLZMA PUBLIC -DHAVE_CONFIG_H)
target_compile_definitions(LibLZMA PRIVATE -DHAVE_CONFIG_H)
target_include_directories(LibLZMA PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>

View File

@ -1,4 +1,4 @@
Source: liblzma
Version: 5.2.4-2
Version: 5.2.4-3
Homepage: https://github.com/xz-mirror/xz
Description: Compression library with an API similar to that of zlib.