aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhoebe <20694052+PhoebeHui@users.noreply.github.com>2020-01-07 07:06:53 +0800
committerdan-shaw <51385773+dan-shaw@users.noreply.github.com>2020-01-06 15:06:53 -0800
commit59b1a8a7915db29c07772d64c66dd0f7bfe9d3e6 (patch)
treebc0796fa5f5890f33daf36fb1d7273eef2a5f88d
parentf9b577e74ffcafb59e1fdffe42ff9c787c3a628c (diff)
downloadvcpkg-59b1a8a7915db29c07772d64c66dd0f7bfe9d3e6.tar.gz
vcpkg-59b1a8a7915db29c07772d64c66dd0f7bfe9d3e6.zip
[liblzma] Fix issue that exports incorrect definition (#9192)
-rw-r--r--ports/liblzma/CMakeLists.txt2
-rw-r--r--ports/liblzma/CONTROL2
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.