CMake build option for security report: CVE-2009-3850
[blender-staging.git] / source / blender / windowmanager / CMakeLists.txt
index db0815efa5362c53949c139f5b3df2f35bb0ebae..1a056b56eff2fa2c495352eae83c4b4246ceba2e 100644 (file)
@@ -98,6 +98,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_GAMEENGINE)