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>2011-06-05 11:55:18 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-06-05 11:55:18 +0400
commitb727202921f537b50ab5ebdf7367da1c4416120d (patch)
tree954ed4385ac89f5b4e281ef3b8f1a1ad53cc8227 /source/blender/editors/interface/CMakeLists.txt
parent3a6adc0ed30be1d940f8069ad5e35bb27140ada6 (diff)
compile without splash and icons when WITH_HEADLESS is set.
Diffstat (limited to 'source/blender/editors/interface/CMakeLists.txt')
-rw-r--r--source/blender/editors/interface/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/interface/CMakeLists.txt b/source/blender/editors/interface/CMakeLists.txt
index 9902cac8857..6dd7af70e33 100644
--- a/source/blender/editors/interface/CMakeLists.txt
+++ b/source/blender/editors/interface/CMakeLists.txt
@@ -63,6 +63,10 @@ if(WITH_INTERNATIONAL)
add_definitions(-DINTERNATIONAL)
endif()
+if(WITH_HEADLESS)
+ add_definitions(-DWITH_HEADLESS)
+endif()
+
if(WITH_PYTHON)
add_definitions(-DWITH_PYTHON)
endif()