From 401cc1e0969e0a38df9a706b09d5fe10c19bc468 Mon Sep 17 00:00:00 2001 From: Wilber Date: Mon, 7 Dec 2020 17:09:59 +0800 Subject: [PATCH] [Release/2.0 rc1] fix cmake error message. (#29420) * update lite tag. * fix cmake error log. --- cmake/inference_lib.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/inference_lib.cmake b/cmake/inference_lib.cmake index bc1eff9ef5..d387d5e3c0 100644 --- a/cmake/inference_lib.cmake +++ b/cmake/inference_lib.cmake @@ -322,7 +322,7 @@ function(version version_file) "WITH_TENSORRT: ${TENSORRT_FOUND}\n" "TensorRT version: v${TENSORRT_MAJOR_VERSION}\n") endif() if(WITH_LITE) - file(APPEND ${version_file} "WITH_LITE: ${WITH_LITE}\n" "LITE_GIT_TAG: ${LITE_GIT_TAG}\n"}) + file(APPEND ${version_file} "WITH_LITE: ${WITH_LITE}\n" "LITE_GIT_TAG: ${LITE_GIT_TAG}\n") endif() endfunction() -- GitLab