mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 03:10:57 +08:00
[sdl2-mixer] Fix usage (#26083)
* [sdl2-mixer] Fix usage * version * format * version * Fix usage * version
This commit is contained in:
parent
592158c502
commit
59b861ab16
@ -36,4 +36,5 @@ vcpkg_fixup_pkgconfig()
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
|
||||
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
|
4
ports/sdl2-mixer/usage
Normal file
4
ports/sdl2-mixer/usage
Normal file
@ -0,0 +1,4 @@
|
||||
sdl2-mixer provides CMake targets:
|
||||
|
||||
find_package(SDL2_mixer CONFIG REQUIRED)
|
||||
target_link_libraries(main PRIVATE $<IF:$<TARGET_EXISTS:SDL2_mixer::SDL2_mixer>,SDL2_mixer::SDL2_mixer,SDL2_mixer::SDL2_mixer-static>)
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "sdl2-mixer",
|
||||
"version": "2.6.1",
|
||||
"port-version": 1,
|
||||
"description": "Multi-channel audio mixer library for SDL.",
|
||||
"homepage": "https://github.com/libsdl-org/SDL_mixer",
|
||||
"license": "Zlib",
|
||||
|
@ -6510,7 +6510,7 @@
|
||||
},
|
||||
"sdl2-mixer": {
|
||||
"baseline": "2.6.1",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"sdl2-net": {
|
||||
"baseline": "2.0.1",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "c06711b92dfd4c048f6a56c0236697012094a6e5",
|
||||
"version": "2.6.1",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "7e802cb751276e60dc8046e2b6219dd9dae4c13a",
|
||||
"version": "2.6.1",
|
||||
|
Loading…
x
Reference in New Issue
Block a user