Added WITH_PYTHON as a cmake option
[blender.git] / source / blender / windowmanager / intern / wm_init_exit.c
index 500b04eccab1193146b486ee3f338bab9ef2bb60..ee6c841bf5a26291f762436f5d83283f098691b1 100644 (file)
@@ -65,7 +65,9 @@
 
 #include "radio.h"
 
+#ifndef DISABLE_PYTHON
 #include "BPY_extern.h"
+#endif
 
 #include "SYS_System.h"