SDL: Fix exporting SDL compile flags
Jeffrey Pfau jeffrey@endrift.com
Wed, 18 Mar 2015 23:38:09 -0700
1 files changed,
3 insertions(+),
0 deletions(-)
jump to
M
src/platform/sdl/CMakeLists.txt
→
src/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)