Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-05-11 18:17:49 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-05-11 18:17:49 +0400
commit3bbfbfe4b165daacd02a48a6ceb598c06fdb4693 (patch)
tree77e809233cf17ef9f44959a4735a69bdfc0ba886 /intern/ghost/CMakeLists.txt
parent96cc298086c50685150a09b9e08effeed9d63f42 (diff)
dont use sdl include when building headless
Diffstat (limited to 'intern/ghost/CMakeLists.txt')
-rw-r--r--intern/ghost/CMakeLists.txt8
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)