all repos — mgba @ 59f1018dd2e69cfc18d0ca715bb3a6a366401826

mGBA Game Boy Advance Emulator

Speculative fixes for SDL fallback and failing configuring
Jeffrey Pfau jeffrey@endrift.com
Wed, 08 Oct 2014 04:48:23 -0700
commit

59f1018dd2e69cfc18d0ca715bb3a6a366401826

parent

c7bb9618a092c849c4c48ff525b8eb5a82959f4f

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M src/platform/sdl/CMakeLists.txtsrc/platform/sdl/CMakeLists.txt

@@ -14,10 +14,11 @@ endif()

if(SDL_VERSION EQUAL "1.2" OR NOT SDL2_FOUND) find_package(SDL 1.2) + set(SDL_VERSION "1.2" PARENT_SCOPE) endif() if (NOT SDL2_FOUND AND NOT SDL_FOUND) - set(BUILD_SDL OFF) + set(BUILD_SDL OFF PARENT_SCOPE) return() endif()