From 3660bfd1c43d6193e15bee6121810714655ea193 Mon Sep 17 00:00:00 2001 From: Yan Chunwei Date: Tue, 4 Jun 2019 11:39:13 +0800 Subject: [PATCH] lite fix cmake (#17817) --- paddle/fluid/lite/api/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paddle/fluid/lite/api/CMakeLists.txt b/paddle/fluid/lite/api/CMakeLists.txt index 7f3bc8c2f36..0adaeffbb4f 100644 --- a/paddle/fluid/lite/api/CMakeLists.txt +++ b/paddle/fluid/lite/api/CMakeLists.txt @@ -35,11 +35,11 @@ if((NOT LITE_WITH_LIGHT_WEIGHT_FRAMEWORK) AND WITH_TESTING) lite_download_and_uncompress(${LITE_MODEL_DIR} ${LITE_URL} "lite_naive_model.tar.gz") add_dependencies(test_cxx_api_lite extern_lite_download_lite_naive_model_tar_gz) -endif(NOT LITE_WITH_LIGHT_WEIGHT_FRAMEWORK) +endif() if(NOT LITE_WITH_LIGHT_WEIGHT_FRAMEWORK AND WITH_TESTING) add_dependencies(test_cxx_api_lite extern_lite_download_lite_naive_model_tar_gz) -endif(WITH_TESTING) +endif() # if(NOT LITE_WITH_LIGHT_WEIGHT_FRAMEWORK) # lite_cc_test(test_light_api SRCS light_api_test.cc DEPS light_api_lite ARGS --optimized_model=${LITE_MODEL_DIR}/lite_naive_model_opt SERIAL) -- GitLab