[libmodplug] Fix build failure with clang-19 (#41959)

Co-authored-by: Ankur <ankurv@verma>
Co-authored-by: ankurv <ankur@verma>
Co-authored-by: ankurv <ankurv>
This commit is contained in:
Ankur Verma 2024-11-06 20:47:51 -08:00 committed by GitHub
parent af060d94a0
commit 112c5d7b46
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 8 additions and 9 deletions

View File

@ -17,13 +17,7 @@ vcpkg_from_github(
005-fix-install-paths.patch # https://github.com/Konstanty/libmodplug/pull/61
)
set(EXTRA_OPTIONS "")
if(VCPKG_TARGET_IS_EMSCRIPTEN)
list(APPEND EXTRA_OPTIONS "-DCMAKE_CXX_STANDARD=11")
elseif(VCPKG_TARGET_IS_ANDROID)
list(APPEND EXTRA_OPTIONS "-DCMAKE_CXX_STANDARD=11")
endif()
set(EXTRA_OPTIONS "-DCMAKE_CXX_STANDARD=11")
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"

View File

@ -1,7 +1,7 @@
{
"name": "libmodplug",
"version": "0.8.9.0",
"port-version": 13,
"port-version": 14,
"description": "The ModPlug mod file playing library.",
"homepage": "https://github.com/Konstanty/libmodplug",
"license": null,

View File

@ -4806,7 +4806,7 @@
},
"libmodplug": {
"baseline": "0.8.9.0",
"port-version": 13
"port-version": 14
},
"libmorton": {
"baseline": "0.2.12",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "ff73830b584f9c52036cfa1d31b12cf936beabe8",
"version": "0.8.9.0",
"port-version": 14
},
{
"git-tree": "24e042bf1e6d517ef9bbb83229c541d3e1cdaf3c",
"version": "0.8.9.0",