From 40d961efb018bde6807af4262821fe89488d442c Mon Sep 17 00:00:00 2001 From: Yang Zhao Date: Tue, 12 Oct 2021 18:10:17 +0800 Subject: [PATCH] fix taosdemo/taosdump tdengine version (#8143) * fix taosdemo tdengien version * fix taosdump tdengien version --- src/kit/taosdemo/CMakeLists.txt | 6 +++--- src/kit/taosdump/CMakeLists.txt | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/kit/taosdemo/CMakeLists.txt b/src/kit/taosdemo/CMakeLists.txt index bdfdf74715..2046857eb5 100644 --- a/src/kit/taosdemo/CMakeLists.txt +++ b/src/kit/taosdemo/CMakeLists.txt @@ -47,11 +47,11 @@ MESSAGE("taosdemo's status is:" ${TAOSDEMO_STATUS}) ADD_DEFINITIONS(-DTAOSDEMO_COMMIT_SHA1="${TAOSDEMO_COMMIT_SHA1}") ADD_DEFINITIONS(-DTAOSDEMO_STATUS="${TAOSDEMO_STATUS}") -MESSAGE("VERNUMBER is:" ${VERNUMBER}) -IF ("${VERNUMBER}" STREQUAL "") +MESSAGE("TD_VER_NUMBER is:" ${TD_VER_NUMBER}) +IF ("${TD_VER_NUMBER}" STREQUAL "") SET(TD_VERSION_NUMBER "TDengine-version-unknown") ELSE() - SET(TD_VERSION_NUMBER ${VERNUMBER}) + SET(TD_VERSION_NUMBER ${TD_VER_NUMBER}) ENDIF () MESSAGE("TD_VERSION_NUMBER is:" ${TD_VERSION_NUMBER}) ADD_DEFINITIONS(-DTD_VERNUMBER="${TD_VERSION_NUMBER}") diff --git a/src/kit/taosdump/CMakeLists.txt b/src/kit/taosdump/CMakeLists.txt index 75ce520c2e..18075a5813 100644 --- a/src/kit/taosdump/CMakeLists.txt +++ b/src/kit/taosdump/CMakeLists.txt @@ -52,11 +52,11 @@ MESSAGE("taosdump's status is:" ${TAOSDUMP_STATUS}) ADD_DEFINITIONS(-DTAOSDUMP_COMMIT_SHA1="${TAOSDUMP_COMMIT_SHA1}") ADD_DEFINITIONS(-DTAOSDUMP_STATUS="${TAOSDUMP_STATUS}") -MESSAGE("VERNUMBER is:" ${VERNUMBER}) -IF ("${VERNUMBER}" STREQUAL "") +MESSAGE("TD_VER_NUMBER is:" ${TD_VER_NUMBER}) +IF ("${TD_VER_NUMBER}" STREQUAL "") SET(TD_VERSION_NUMBER "TDengine-version-unknown") ELSE() - SET(TD_VERSION_NUMBER ${VERNUMBER}) + SET(TD_VERSION_NUMBER ${TD_VER_NUMBER}) ENDIF () MESSAGE("TD_VERSION_NUMBER is:" ${TD_VERSION_NUMBER}) ADD_DEFINITIONS(-DTD_VERNUMBER="${TD_VERSION_NUMBER}") -- GitLab