From 14764fa40b1723388a7b195db4c1cefc0d390a08 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 7f3bc8c2f..0adaeffbb 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