dont use sdl include when building headless

This commit is contained in:
Campbell Barton 2012-05-11 14:17:49 +00:00
parent 96cc298086
commit 3bbfbfe4b1
1 changed files with 5 additions and 3 deletions

View File

@ -165,9 +165,11 @@ if(WITH_HEADLESS OR WITH_GHOST_SDL)
)
endif()
list(APPEND INC_SYS
${SDL_INCLUDE_DIR}
)
if(NOT WITH_HEADLESS)
list(APPEND INC_SYS
${SDL_INCLUDE_DIR}
)
endif()
elseif(APPLE)
if(WITH_COCOA)