mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-03 05:21:18 +12:00
Update SDL2 vcpkg port to 2.30.0
This commit is contained in:
parent
72ce4838ea
commit
a63678c1f4
15 changed files with 717 additions and 0 deletions
8
dependencies/vcpkg_overlay_ports_linux/sdl2/usage
vendored
Normal file
8
dependencies/vcpkg_overlay_ports_linux/sdl2/usage
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
sdl2 provides CMake targets:
|
||||
|
||||
find_package(SDL2 CONFIG REQUIRED)
|
||||
target_link_libraries(main
|
||||
PRIVATE
|
||||
$<TARGET_NAME_IF_EXISTS:SDL2::SDL2main>
|
||||
$<IF:$<TARGET_EXISTS:SDL2::SDL2>,SDL2::SDL2,SDL2::SDL2-static>
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue