all repos — mgba @ 2dd391046a3d2ac3f4a80978c3356ecec2b19295

mGBA Game Boy Advance Emulator

SDL: Fix exporting SDL compile flags
Jeffrey Pfau jeffrey@endrift.com
Wed, 18 Mar 2015 23:38:09 -0700
commit

2dd391046a3d2ac3f4a80978c3356ecec2b19295

parent

ae3acd658bdfdde22fa322bf8a4bc8944069f58f

1 files changed, 3 insertions(+), 0 deletions(-)

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

@@ -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)