diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-11-28 11:02:38 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-11-28 11:02:38 +0400 |
commit | 2e4d1222c8ff762fe7b69e2d305abd6b5d8d2f57 (patch) | |
tree | 5e5ca899cec629939574cc189f97a3950e12966c /source/blender/windowmanager | |
parent | 53b8c63904b0e0e1782353419c08745ccbdac4c8 (diff) |
fix for building as a python module
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/CMakeLists.txt | 4 |
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 |