mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-25 23:43:17 +00:00
Merge pull request #9391 from abouvier/cmake-sdl
cmake: use sdl2 imported target
This commit is contained in:
commit
ec6bca7a6f
5 changed files with 7 additions and 35 deletions
|
|
@ -391,11 +391,7 @@ if (YUZU_USE_BUNDLED_QT AND QT_VERSION VERSION_LESS 6)
|
|||
endif()
|
||||
|
||||
if (ENABLE_SDL2)
|
||||
if (YUZU_USE_EXTERNAL_SDL2)
|
||||
target_link_libraries(yuzu PRIVATE SDL2-static)
|
||||
else()
|
||||
target_link_libraries(yuzu PRIVATE SDL2)
|
||||
endif()
|
||||
target_link_libraries(yuzu PRIVATE SDL2::SDL2)
|
||||
target_compile_definitions(yuzu PRIVATE HAVE_SDL2)
|
||||
endif()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue