mirror of https://github.com/mgba-emu/mgba.git
SDL: Properly disable SDL build if libsdl isn't found (fixes #3213)
This commit is contained in:
parent
8b1efec116
commit
649be1b505
|
@ -40,6 +40,7 @@ endif()
|
|||
|
||||
if (NOT SDL2_FOUND AND NOT SDL_FOUND)
|
||||
set(SDL_FOUND OFF PARENT_SCOPE)
|
||||
set(BUILD_SDL OFF PARENT_SCOPE)
|
||||
return()
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in New Issue