diff --git a/paddle/memory/CMakeLists.txt b/paddle/memory/CMakeLists.txt index 4cd40e2c2ac0c32aaedeec570cb28451ad7adab8..8035d93bfec75b20a54c5af0521ab724cafba8ca 100644 --- a/paddle/memory/CMakeLists.txt +++ b/paddle/memory/CMakeLists.txt @@ -1,14 +1,16 @@ add_subdirectory(detail) cc_library(memory SRCS memory.cc) -cc_library(memcpy SRCS memcpy.cc) +cc_library(memcpy SRCS memcpy.cc DEPS device_context) cc_library(paddle_memory DEPS memory memcpy meta_data - meta_cache memory_block - buddy_allocator system_allocator) + meta_cache + memory_block + buddy_allocator + system_allocator) cc_test(memory_test SRCS memory_test.cc DEPS place paddle_memory)