From 8e7975da3f5ae65d81627f3527af0bd0c5d544bf Mon Sep 17 00:00:00 2001 From: qijun Date: Wed, 11 Oct 2017 10:15:27 -0700 Subject: [PATCH] move GLOB_OP_LIB deps to executor_test --- paddle/framework/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/paddle/framework/CMakeLists.txt b/paddle/framework/CMakeLists.txt index 503a6db7b4..dcbfae0b56 100644 --- a/paddle/framework/CMakeLists.txt +++ b/paddle/framework/CMakeLists.txt @@ -42,11 +42,11 @@ add_custom_command(TARGET framework_py_proto POST_BUILD cc_library(backward SRCS backward.cc DEPS net_op) cc_test(backward_test SRCS backward_test.cc DEPS backward recurrent_op device_context) -cc_library(executor SRCS executor.cc DEPS op_registry device_context scope framework_proto backward ${GLOB_OP_LIB}) +cc_library(executor SRCS executor.cc DEPS op_registry device_context scope framework_proto backward) if(WITH_GPU) - nv_test(executor_test SRCS executor_test.cc DEPS executor) + nv_test(executor_test SRCS executor_test.cc DEPS executor ${GLOB_OP_LIB}) else() - cc_test(executor_test SRCS executor_test.cc DEPS executor) + cc_test(executor_test SRCS executor_test.cc DEPS executor ${GLOB_OP_LIB}) endif() cc_library(tensor_array SRCS tensor_array.cc DEPS lod_tensor) -- GitLab