Py/RNA API: WITH_PYTHON_SAFETY
[blender.git] / source / blender / python / intern / CMakeLists.txt
index bf91fd90744baff6fcc453e847863ef60fcf18ed..fbf2741533ed2aa7aa146e16e7cffc5311a29873 100644 (file)
@@ -76,4 +76,8 @@ if(WITH_PYTHON_MODULE)
        add_definitions(-DWITH_PYTHON_MODULE)
 endif()
 
+if(WITH_PYTHON_SAFETY)
+       add_definitions(-DWITH_PYTHON_SAFETY)
+endif()
+
 blender_add_lib(bf_python "${SRC}" "${INC}")