未验证 提交 9a7f6a93 编写于 作者: sangshuduo's avatar sangshuduo 提交者: GitHub

impr: fix odbc's cmake typo (#12047)

* impr: fix odbc's cmake typo

* disable python subscribe test to avoid CI timeout
上级 048bd710
......@@ -10,7 +10,7 @@ IF (TD_LINUX_64)
check_symbol_exists(SQLExecute "sql.h" HAVE_ODBC_DEV)
if(NOT (HAVE_ODBC_DEV))
unset(HAVE_ODBC_DEV CACHE)
message(WARNING "unixodbc-dev is not installed yet, you may install it under ubuntu by typing: sudo apt install unixodbc-dev")
message(WARNING "unixodbc-dev is not installed yet, you may install it under Ubuntu by typing: sudo apt install unixodbc-dev")
else ()
message(STATUS "unixodbc/unixodbc-dev are installed, and odbc connector will be built")
find_package(FLEX)
......@@ -29,7 +29,7 @@ IF (TD_LINUX_64)
endif()
endif()
ELSE ()
message(WARNING "unixodbc is not installed yet, you may install it under ubuntu by typing: sudo apt install unixodbc")
message(WARNING "unixodbc is not installed yet, you may install it under Ubuntu by typing: sudo apt install unixodbc")
ENDIF ()
ENDIF ()
......@@ -44,7 +44,7 @@ IF (TD_DARWIN)
check_symbol_exists(SQLExecute "sql.h" HAVE_ODBC_DEV)
if(NOT (HAVE_ODBC_DEV))
unset(HAVE_ODBC_DEV CACHE)
message(WARNING "unixodbc-dev is not installed yet, you may install it with homebrew by typing: brew install unixodbc")
message(WARNING "unixodbc-dev is not installed yet, you may install it under macOS by typing: brew install unixodbc")
else ()
message(STATUS "unixodbc/unixodbc-dev are installed, and odbc connector will be built")
find_package(FLEX)
......@@ -63,7 +63,7 @@ IF (TD_DARWIN)
endif()
endif()
ELSE ()
message(WARNING "unixodbc is not installed yet, you may install it under ubuntu by typing: brew install unixodbc")
message(WARNING "unixodbc is not installed yet, you may install it under macOS by typing: brew install unixodbc")
ENDIF ()
ENDIF ()
......
......@@ -42,6 +42,6 @@ taos -s "drop database test"
python3 json_protocol_example.py
# 10
python3 subscribe_demo.py
# python3 subscribe_demo.py
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册