From 4f23adbbfa9e68da705052d3032a7defc14176e5 Mon Sep 17 00:00:00 2001 From: tensor-tang Date: Wed, 29 May 2019 07:11:43 +0000 Subject: [PATCH] fix arm deps --- paddle/fluid/lite/arm/math/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/paddle/fluid/lite/arm/math/CMakeLists.txt b/paddle/fluid/lite/arm/math/CMakeLists.txt index 278cb54a418d8e..d114ffd075b801 100644 --- a/paddle/fluid/lite/arm/math/CMakeLists.txt +++ b/paddle/fluid/lite/arm/math/CMakeLists.txt @@ -1,2 +1,6 @@ +if(NOT (LITE_WITH_LIGHT_WEIGHT_FRAMEWORK AND LITE_WITH_ARM)) + return() +endif() + cc_library(math_arm SRCS funcs.cc packed_sgemm.cc DEPS ${lite_kernel_deps} eigen3)