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-11-28 11:02:38 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-11-28 11:02:38 +0400
commit2e4d1222c8ff762fe7b69e2d305abd6b5d8d2f57 (patch)
tree5e5ca899cec629939574cc189f97a3950e12966c /source/blender/windowmanager/CMakeLists.txt
parent53b8c63904b0e0e1782353419c08745ccbdac4c8 (diff)
fix for building as a python module
Diffstat (limited to 'source/blender/windowmanager/CMakeLists.txt')
-rw-r--r--source/blender/windowmanager/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/windowmanager/CMakeLists.txt b/source/blender/windowmanager/CMakeLists.txt
index 33bbcb74835..521074463e0 100644
--- a/source/blender/windowmanager/CMakeLists.txt
+++ b/source/blender/windowmanager/CMakeLists.txt
@@ -105,6 +105,10 @@ if(WITH_CODEC_FFMPEG)
add_definitions(-DWITH_FFMPEG)
endif()
+if(WITH_HEADLESS)
+ add_definitions(-DWITH_HEADLESS)
+endif()
+
if(WITH_PYTHON)
list(APPEND INC
../python