diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-05-11 18:17:49 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-05-11 18:17:49 +0400 |
commit | 3bbfbfe4b165daacd02a48a6ceb598c06fdb4693 (patch) | |
tree | 77e809233cf17ef9f44959a4735a69bdfc0ba886 /intern/ghost/CMakeLists.txt | |
parent | 96cc298086c50685150a09b9e08effeed9d63f42 (diff) |
dont use sdl include when building headless
Diffstat (limited to 'intern/ghost/CMakeLists.txt')
-rw-r--r-- | intern/ghost/CMakeLists.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/intern/ghost/CMakeLists.txt b/intern/ghost/CMakeLists.txt index 5c653ac92c0..eeb924d7bf0 100644 --- a/intern/ghost/CMakeLists.txt +++ b/intern/ghost/CMakeLists.txt @@ -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) |