mirror of https://github.com/mgba-emu/mgba.git
SDL: Fix exporting SDL compile flags
This commit is contained in:
parent
ae3acd658b
commit
2dd391046a
|
@ -37,6 +37,9 @@ file(GLOB PLATFORM_SRC ${CMAKE_SOURCE_DIR}/src/platform/sdl/sdl-*.c)
|
|||
set(PLATFORM_LIBRARY ${SDL_LIBRARY} ${SDLMAIN_LIBRARY} ${PIXMAN-1_LIBRARIES})
|
||||
include_directories(${CMAKE_SOURCE_DIR}/src/platform/sdl ${SDL_INCLUDE_DIR})
|
||||
|
||||
set(SDL_INCLUDE_DIR "${SDL_INCLUDE_DIR}" PARENT_SCOPE)
|
||||
set(SDL_LIBRARY "${SDL_LIBRARY}" PARENT_SCOPE)
|
||||
|
||||
set(MAIN_SRC ${CMAKE_SOURCE_DIR}/src/platform/sdl/main.c)
|
||||
|
||||
if(BUILD_RASPI)
|
||||
|
|
Loading…
Reference in New Issue