未验证 提交 40d961ef 编写于 作者: Y Yang Zhao 提交者: GitHub

fix taosdemo/taosdump tdengine version (#8143)

* fix taosdemo tdengien version

* fix taosdump tdengien version
上级 0044724a
...@@ -47,11 +47,11 @@ MESSAGE("taosdemo's status is:" ${TAOSDEMO_STATUS}) ...@@ -47,11 +47,11 @@ MESSAGE("taosdemo's status is:" ${TAOSDEMO_STATUS})
ADD_DEFINITIONS(-DTAOSDEMO_COMMIT_SHA1="${TAOSDEMO_COMMIT_SHA1}") ADD_DEFINITIONS(-DTAOSDEMO_COMMIT_SHA1="${TAOSDEMO_COMMIT_SHA1}")
ADD_DEFINITIONS(-DTAOSDEMO_STATUS="${TAOSDEMO_STATUS}") ADD_DEFINITIONS(-DTAOSDEMO_STATUS="${TAOSDEMO_STATUS}")
MESSAGE("VERNUMBER is:" ${VERNUMBER}) MESSAGE("TD_VER_NUMBER is:" ${TD_VER_NUMBER})
IF ("${VERNUMBER}" STREQUAL "") IF ("${TD_VER_NUMBER}" STREQUAL "")
SET(TD_VERSION_NUMBER "TDengine-version-unknown") SET(TD_VERSION_NUMBER "TDengine-version-unknown")
ELSE() ELSE()
SET(TD_VERSION_NUMBER ${VERNUMBER}) SET(TD_VERSION_NUMBER ${TD_VER_NUMBER})
ENDIF () ENDIF ()
MESSAGE("TD_VERSION_NUMBER is:" ${TD_VERSION_NUMBER}) MESSAGE("TD_VERSION_NUMBER is:" ${TD_VERSION_NUMBER})
ADD_DEFINITIONS(-DTD_VERNUMBER="${TD_VERSION_NUMBER}") ADD_DEFINITIONS(-DTD_VERNUMBER="${TD_VERSION_NUMBER}")
......
...@@ -52,11 +52,11 @@ MESSAGE("taosdump's status is:" ${TAOSDUMP_STATUS}) ...@@ -52,11 +52,11 @@ MESSAGE("taosdump's status is:" ${TAOSDUMP_STATUS})
ADD_DEFINITIONS(-DTAOSDUMP_COMMIT_SHA1="${TAOSDUMP_COMMIT_SHA1}") ADD_DEFINITIONS(-DTAOSDUMP_COMMIT_SHA1="${TAOSDUMP_COMMIT_SHA1}")
ADD_DEFINITIONS(-DTAOSDUMP_STATUS="${TAOSDUMP_STATUS}") ADD_DEFINITIONS(-DTAOSDUMP_STATUS="${TAOSDUMP_STATUS}")
MESSAGE("VERNUMBER is:" ${VERNUMBER}) MESSAGE("TD_VER_NUMBER is:" ${TD_VER_NUMBER})
IF ("${VERNUMBER}" STREQUAL "") IF ("${TD_VER_NUMBER}" STREQUAL "")
SET(TD_VERSION_NUMBER "TDengine-version-unknown") SET(TD_VERSION_NUMBER "TDengine-version-unknown")
ELSE() ELSE()
SET(TD_VERSION_NUMBER ${VERNUMBER}) SET(TD_VERSION_NUMBER ${TD_VER_NUMBER})
ENDIF () ENDIF ()
MESSAGE("TD_VERSION_NUMBER is:" ${TD_VERSION_NUMBER}) MESSAGE("TD_VERSION_NUMBER is:" ${TD_VERSION_NUMBER})
ADD_DEFINITIONS(-DTD_VERNUMBER="${TD_VERSION_NUMBER}") ADD_DEFINITIONS(-DTD_VERNUMBER="${TD_VERSION_NUMBER}")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册