diff --git a/paddle/fluid/operators/CMakeLists.txt b/paddle/fluid/operators/CMakeLists.txt index 3f455b791b4e1ac32f0070fb5352994f1ab6777d..e00cc73565fc98615090367606b6ba4f58feacfd 100644 --- a/paddle/fluid/operators/CMakeLists.txt +++ b/paddle/fluid/operators/CMakeLists.txt @@ -272,8 +272,6 @@ if(NOT WITH_MKLDNN) list(REMOVE_ITEM GENERAL_OPS fc_op) endif(NOT WITH_MKLDNN) -list(REMOVE_ITEM GENERAL_OPS reduce_op) - foreach(src ${GENERAL_OPS}) op_library(${src}) endforeach()