浏览代码

Compile without python

rdb 17 年之前
父节点
当前提交
abe13bd4f0
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      panda/src/event/config_event.cxx

+ 2 - 0
panda/src/event/config_event.cxx

@@ -49,7 +49,9 @@ ConfigureFn(config_event) {
   EventStoreWstring::init_type("EventStoreWstring");
   EventStoreWstring::init_type("EventStoreWstring");
   EventStoreTypedRefCount::init_type();
   EventStoreTypedRefCount::init_type();
   GenericAsyncTask::init_type();
   GenericAsyncTask::init_type();
+#ifdef HAVE_PYTHON
   PythonTask::init_type();
   PythonTask::init_type();
+#endif
 
 
   ButtonEventList::register_with_read_factory();
   ButtonEventList::register_with_read_factory();
   EventStoreInt::register_with_read_factory();
   EventStoreInt::register_with_read_factory();