From aac8812f26c3d13ea42bc1baaffae273385911aa Mon Sep 17 00:00:00 2001 From: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> Date: Wed, 12 Mar 2025 06:59:39 -0700 Subject: [PATCH] [libogg] Upgrade CMake 3.5 (#44146) Co-authored-by: Jon --- ports/libogg/portfile.cmake | 3 +++ ports/libogg/vcpkg.json | 2 +- versions/baseline.json | 2 +- versions/l-/libogg.json | 5 +++++ 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ports/libogg/portfile.cmake b/ports/libogg/portfile.cmake index be9f519a1d..079aca00ea 100644 --- a/ports/libogg/portfile.cmake +++ b/ports/libogg/portfile.cmake @@ -14,9 +14,12 @@ endif() vcpkg_cmake_configure( SOURCE_PATH "${SOURCE_PATH}" OPTIONS + -DCMAKE_POLICY_VERSION_MINIMUM=3.5 #https://gitlab.xiph.org/xiph/ogg/-/issues/2304 -DINSTALL_DOCS=OFF -DINSTALL_PKG_CONFIG_MODULE=ON -DBUILD_TESTING=OFF + MAYBE_UNUSED_VARIABLES + CMAKE_POLICY_VERSION_MINIMUM ) vcpkg_cmake_install() diff --git a/ports/libogg/vcpkg.json b/ports/libogg/vcpkg.json index dba3d701fb..72011acb4e 100644 --- a/ports/libogg/vcpkg.json +++ b/ports/libogg/vcpkg.json @@ -1,7 +1,7 @@ { "name": "libogg", "version": "1.3.5", - "port-version": 1, + "port-version": 2, "description": "Ogg is a multimedia container format, and the native file and stream format for the Xiph.org multimedia codecs.", "homepage": "https://www.xiph.org/ogg", "license": "BSD-3-Clause", diff --git a/versions/baseline.json b/versions/baseline.json index 9556e89d50..023339ac0b 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -4954,7 +4954,7 @@ }, "libogg": { "baseline": "1.3.5", - "port-version": 1 + "port-version": 2 }, "libopenmpt": { "baseline": "0.7.13", diff --git a/versions/l-/libogg.json b/versions/l-/libogg.json index 164c84e059..ade5c39a0a 100644 --- a/versions/l-/libogg.json +++ b/versions/l-/libogg.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "7de72b080f4e8596980840f33de0a62394d99e6b", + "version": "1.3.5", + "port-version": 2 + }, { "git-tree": "98e27727c32704393494d32615c25b7b16eb3067", "version": "1.3.5",