提交 445b9c5d 编写于 作者: J jackzhang235

fix: transformer test uses gtest but no WITH_TESTING in cmake file

上级 6617aa8b
......@@ -383,6 +383,8 @@ if(NOT IOS)
FPGA_DEPS ${fpga_kernels}
X86_DEPS ${x86_kernels}
CUDA_DEPS ${cuda_kernels})
if (WITH_TESTING)
lite_cc_binary(test_transformer SRCS transform_test.cc DEPS paddle_api_full paddle_api_light gflags utils
${ops} ${host_kernels}
ARM_DEPS ${arm_kernels}
......@@ -393,6 +395,7 @@ if(NOT IOS)
FPGA_DEPS ${fpga_kernels}
X86_DEPS ${x86_kernels}
CUDA_DEPS ${cuda_kernels})
endif()
endif()
#lite_cc_binary(cxx_api_bin SRCS cxx_api_bin.cc
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册