CMake build option for security report: CVE-2009-3850
[blender-staging.git] / source / creator / CMakeLists.txt
index 87850528648e59abe1555a751787a32dcaa2bfbd..d1f5cddc981b06ae0d8cc2211264227033703ba2 100644 (file)
@@ -75,6 +75,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)