diff --git a/sql/CMakeLists.txt b/sql/CMakeLists.txt
index 2aef0e0dc256d114184fe935fa23f2e2173fa641..85c2013d8e7b6cc417bea09a4124905f57be7248 100644
--- a/sql/CMakeLists.txt
+++ b/sql/CMakeLists.txt
@@ -49,7 +49,7 @@ ADD_EXECUTABLE(mysqld ../sql-common/client.c derror.cc des_key_file.cc
                item_create.cc item_func.cc item_geofunc.cc item_row.cc 
                item_strfunc.cc item_subselect.cc item_sum.cc item_timefunc.cc 
                key.cc log.cc lock.cc message.rc 
-               log_event.cc rpl_record.cc
+               log_event.cc rpl_record.cc rpl_reporting.cc
                log_event_old.cc rpl_record_old.cc
                message.h mf_iocache.cc my_decimal.cc ../sql-common/my_time.c
                mysqld.cc net_serv.cc