Merged changes in the trunk up to revision 36408.
[blender.git] / source / blender / blenkernel / CMakeLists.txt
index 9187d07a39f6f7407e6fa4056339b8070d3d5063..a619be07b6aeeee77cf2803f7dba37204257033c 100644 (file)
@@ -284,6 +284,10 @@ endif()
 if(WITH_PYTHON)
        list(APPEND INC ../python ${PYTHON_INCLUDE_DIRS})
        add_definitions(-DWITH_PYTHON)
+
+       if(WITH_PYTHON_SECURITY)
+               add_definitions(-DWITH_PYTHON_SECURITY)
+       endif()
 endif()
 
 if(WITH_OPENMP)