Merged changes in the trunk up to revision 36408.
[blender.git] / source / creator / CMakeLists.txt
index 2a5e828fabcd710c6cc7f1eadc42ba907fc6e72b..3d18b6c4c08bf7c9f3329d6096ad7216ea9d2b1a 100644 (file)
@@ -76,6 +76,10 @@ endif()
 if(WITH_PYTHON)
        blender_include_dirs(../blender/python)
        add_definitions(-DWITH_PYTHON)
+
+       if(WITH_PYTHON_SECURITY)
+               add_definitions(-DWITH_PYTHON_SECURITY)
+       endif()
 endif()
 
 if(WITH_GAMEENGINE)