[podofo] Update to 0.10.2 (#35436)

* [podofo] Update to 0.10.2

* update version
This commit is contained in:
Lily Wang 2023-12-01 02:00:13 -08:00 committed by GitHub
parent 24ae27eb23
commit e9aaa09010
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 32 additions and 4 deletions

View File

@ -0,0 +1,20 @@
diff --git a/src/podofo/CMakeLists.txt b/src/podofo/CMakeLists.txt
index 697e475..6c12036 100644
--- a/src/podofo/CMakeLists.txt
+++ b/src/podofo/CMakeLists.txt
@@ -72,6 +72,7 @@ if(PODOFO_BUILD_STATIC)
add_library(podofo_static STATIC ${PODOFO_SOURCES})
add_library(podofo::podofo ALIAS podofo_static)
target_link_libraries(podofo_static podofo_private ${PODOFO_LIB_DEPENDS})
+ target_include_directories(podofo_static PUBLIC "$<INSTALL_INTERFACE:include>")
set_target_properties(podofo_static PROPERTIES
VERSION "${PODOFO_VERSION}"
SOVERSION "${PODOFO_SOVERSION}"
@@ -96,6 +97,7 @@ if(PODOFO_BUILD_SHARED)
add_library(podofo_shared SHARED ${PODOFO_SOURCES})
add_library(podofo::podofo ALIAS podofo_shared)
target_link_libraries(podofo_shared PRIVATE podofo_private ${PODOFO_LIB_DEPENDS})
+ target_include_directories(podofo_shared PUBLIC "$<INSTALL_INTERFACE:include>")
# TODO: set /wd4251 flag if we're doing a debug build with
# Visual Studio, since it produces invalid warnings about STL
# use.

View File

@ -1,9 +1,10 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO podofo/podofo
REF "${VERSION}"
SHA512 cbbd183cd940345f9b077b7da140414c27badc70fdf754e2f3c6f0e51c25072de46d7fe312b014c0eab359bd03e9dca0283260db00f079c5014e268d5c5ef5c9
SHA512 b5b7d4236a1f15b4eeee9d24210015b983910e88efa4727dd551f58b4d39cf7566314513b99099f54835b90a209cbf8231e04d19b63019223113abe6520fc932
PATCHES
fix-interface-include.patch
)
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
@ -26,6 +27,8 @@ vcpkg_cmake_configure(
-DPODOFO_BUILD_LIB_ONLY=1
-DPODOFO_BUILD_STATIC=${PODOFO_BUILD_STATIC}
-DCMAKE_DISABLE_FIND_PACKAGE_Libidn=ON
MAYBE_UNUSED_VARIABLES
PKG_CONFIG_FOUND # Fix the warning of static build.
)
vcpkg_cmake_install()

View File

@ -1,6 +1,6 @@
{
"name": "podofo",
"version": "0.10.1",
"version": "0.10.2",
"description": "PoDoFo is a library to work with the PDF file format",
"homepage": "https://github.com/podofo/podofo",
"license": "LGPL-2.0-or-later",

View File

@ -6673,7 +6673,7 @@
"port-version": 0
},
"podofo": {
"baseline": "0.10.1",
"baseline": "0.10.2",
"port-version": 0
},
"poissonrecon": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "0323e740780ecead10bd47ca5bfb89ca6140c3b7",
"version": "0.10.2",
"port-version": 0
},
{
"git-tree": "75683a46d35cfff92866f9c559833c7d1962cc55",
"version": "0.10.1",