SDL: Fix potential build issues when Qt and SDL2 are in use

This commit is contained in:
Jeffrey Pfau 2015-05-09 13:53:19 -07:00
parent 32d1f5bbfb
commit cb3f029d9e
2 changed files with 2 additions and 0 deletions

View File

@ -51,6 +51,7 @@ Bugfixes:
- ARM7: Make illegal instruction decoding consistent between ARM and Thumb
- GBA BIOS: Initialize a variable that may be uninitialized in very rare cases
- ARM7: Fix ARM multiply instructions when PC is a destination register
- SDL: Fix potential build issues when Qt and SDL2 are in use
Misc:
- Qt: Show multiplayer numbers in window title
- Qt: Handle saving input settings better

View File

@ -39,6 +39,7 @@ include_directories(${CMAKE_SOURCE_DIR}/src/platform/sdl ${PIXMAN-1_INCLUDE_DIR}
set(SDL_INCLUDE_DIR "${SDL_INCLUDE_DIR}" PARENT_SCOPE)
set(SDL_LIBRARY "${SDL_LIBRARY}" PARENT_SCOPE)
set(SDLMAIN_LIBRARY "${SDLMAIN_LIBRARY}" PARENT_SCOPE)
set(MAIN_SRC ${CMAKE_SOURCE_DIR}/src/platform/sdl/main.c)