diff options
| author | Phoebe <20694052+PhoebeHui@users.noreply.github.com> | 2020-01-07 07:06:53 +0800 |
|---|---|---|
| committer | dan-shaw <51385773+dan-shaw@users.noreply.github.com> | 2020-01-06 15:06:53 -0800 |
| commit | 59b1a8a7915db29c07772d64c66dd0f7bfe9d3e6 (patch) | |
| tree | bc0796fa5f5890f33daf36fb1d7273eef2a5f88d | |
| parent | f9b577e74ffcafb59e1fdffe42ff9c787c3a628c (diff) | |
| download | vcpkg-59b1a8a7915db29c07772d64c66dd0f7bfe9d3e6.tar.gz vcpkg-59b1a8a7915db29c07772d64c66dd0f7bfe9d3e6.zip | |
[liblzma] Fix issue that exports incorrect definition (#9192)
| -rw-r--r-- | ports/liblzma/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | ports/liblzma/CONTROL | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ports/liblzma/CMakeLists.txt b/ports/liblzma/CMakeLists.txt index a9927c2b6..626655150 100644 --- a/ports/liblzma/CMakeLists.txt +++ b/ports/liblzma/CMakeLists.txt @@ -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}> diff --git a/ports/liblzma/CONTROL b/ports/liblzma/CONTROL index 967b3b16c..1148fbb52 100644 --- a/ports/liblzma/CONTROL +++ b/ports/liblzma/CONTROL @@ -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. |
