diff options
Diffstat (limited to 'source/blender/freestyle/CMakeLists.txt')
-rw-r--r-- | source/blender/freestyle/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/freestyle/CMakeLists.txt b/source/blender/freestyle/CMakeLists.txt index c2fad9fef3a..8f9e493023c 100644 --- a/source/blender/freestyle/CMakeLists.txt +++ b/source/blender/freestyle/CMakeLists.txt @@ -548,7 +548,6 @@ set(INC ../python/intern ../render ../render/intern - ../../../extern/glew/include ../../../intern/guardedalloc # RNA_prototypes.h @@ -562,6 +561,10 @@ set(INC_SYS add_definitions(-DWITH_FREESTYLE) +if(WITH_PYTHON_MODULE) + add_definitions(-DPy_ENABLE_SHARED) +endif() + if(WITH_PYTHON_SAFETY) # For bpy_rna.h access. add_definitions(-DWITH_PYTHON_SAFETY) |