[sdl3] Fix config fixup (#42206)

This commit is contained in:
Kai Pastor 2024-11-19 01:50:22 +01:00 committed by GitHub
parent 84a143e4ca
commit d14bd2b23d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 14 additions and 3 deletions

View File

@ -48,7 +48,13 @@ vcpkg_cmake_configure(
) )
vcpkg_cmake_install() vcpkg_cmake_install()
vcpkg_cmake_config_fixup()
# Subject to https://github.com/libsdl-org/SDL/pull/11492
set(config_path "share/${PORT}/SDL3")
if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
set(config_path "share/${PORT}")
endif()
vcpkg_cmake_config_fixup(CONFIG_PATH "${config_path}")
file(REMOVE_RECURSE file(REMOVE_RECURSE
"${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/include"

View File

@ -1,7 +1,7 @@
{ {
"name": "sdl3", "name": "sdl3",
"version": "3.1.6-preview", "version": "3.1.6-preview",
"port-version": 1, "port-version": 2,
"description": "Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D.", "description": "Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D.",
"homepage": "https://www.libsdl.org", "homepage": "https://www.libsdl.org",
"license": "Zlib AND MIT AND Apache-2.0", "license": "Zlib AND MIT AND Apache-2.0",

View File

@ -8242,7 +8242,7 @@
}, },
"sdl3": { "sdl3": {
"baseline": "3.1.6-preview", "baseline": "3.1.6-preview",
"port-version": 1 "port-version": 2
}, },
"seacas": { "seacas": {
"baseline": "2022-11-22", "baseline": "2022-11-22",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "696763312883c589e3a9b07f42b7293de4dcf2b1",
"version": "3.1.6-preview",
"port-version": 2
},
{ {
"git-tree": "fc1dd65862da2cf2770e2540136da1f89b493cda", "git-tree": "fc1dd65862da2cf2770e2540136da1f89b493cda",
"version": "3.1.6-preview", "version": "3.1.6-preview",