diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-06-05 11:55:18 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-06-05 11:55:18 +0400 |
commit | b727202921f537b50ab5ebdf7367da1c4416120d (patch) | |
tree | 954ed4385ac89f5b4e281ef3b8f1a1ad53cc8227 /source/blender/editors/interface/CMakeLists.txt | |
parent | 3a6adc0ed30be1d940f8069ad5e35bb27140ada6 (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.txt | 4 |
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() |