mirror of https://github.com/microsoft/vcpkg.git
[sdl3-mixer] Fix mingw (#51245)
This commit is contained in:
parent
b9af4547ce
commit
51103e4ffe
|
|
@ -49,7 +49,7 @@ vcpkg_cmake_configure(
|
|||
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_copy_pdbs()
|
||||
if(VCPKG_TARGET_IS_WINDOWS)
|
||||
if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
|
||||
vcpkg_cmake_config_fixup(PACKAGE_NAME "SDL3_mixer" CONFIG_PATH "cmake")
|
||||
else()
|
||||
vcpkg_cmake_config_fixup(PACKAGE_NAME "SDL3_mixer" CONFIG_PATH "lib/cmake/SDL3_mixer")
|
||||
|
|
@ -58,6 +58,7 @@ vcpkg_fixup_pkgconfig()
|
|||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/licenses")
|
||||
|
||||
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
sdl3-mixer provides CMake targets:
|
||||
|
||||
find_package(SDL3_mixer CONFIG REQUIRED)
|
||||
target_link_libraries(main PRIVATE $<IF:$<TARGET_EXISTS:SDL3_mixer::SDL3_mixer>,SDL3_mixer::SDL3_mixer,SDL3_mixer::SDL3_mixer-static>)
|
||||
find_package(SDL3_mixer CONFIG REQUIRED)
|
||||
target_link_libraries(main PRIVATE $<IF:$<TARGET_EXISTS:SDL3_mixer::SDL3_mixer>,SDL3_mixer::SDL3_mixer,SDL3_mixer::SDL3_mixer-static>)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "sdl3-mixer",
|
||||
"version": "3.2.0",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "An audio mixer that supports various file formats for Simple Directmedia Layer.",
|
||||
"homepage": "https://github.com/libsdl-org/SDL_mixer",
|
||||
"license": "Zlib",
|
||||
|
|
|
|||
|
|
@ -9078,7 +9078,7 @@
|
|||
},
|
||||
"sdl3-mixer": {
|
||||
"baseline": "3.2.0",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"sdl3-shadercross": {
|
||||
"baseline": "3.0.0-preview2",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "ecd00493098fe345f1715c63e49d5aaaee8dc808",
|
||||
"version": "3.2.0",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "d971a06612eb93102cedb5189e0f32c050f80163",
|
||||
"version": "3.2.0",
|
||||
|
|
|
|||
Loading…
Reference in New Issue