diff --git a/paddle/memory/CMakeLists.txt b/paddle/memory/CMakeLists.txt index eb2f5cb66acfc76d61fa3e0966ca0d7df704cb58..8035d93bfec75b20a54c5af0521ab724cafba8ca 100644 --- a/paddle/memory/CMakeLists.txt +++ b/paddle/memory/CMakeLists.txt @@ -1,7 +1,7 @@ add_subdirectory(detail) -cc_library(memory SRCS memory.h memory.cc) -cc_library(memcpy SRCS memcpy.h memcpy.cc DEPS device_context) +cc_library(memory SRCS memory.cc) +cc_library(memcpy SRCS memcpy.cc DEPS device_context) cc_library(paddle_memory DEPS