Merge pull request #16468 from taosdata/fix/ZhiqiangWang/TD-18683-link-libtaos.so.1

build: link-libtaos.so.1
This commit is contained in:
Shengliang Guan 2022-08-29 13:12:23 +08:00 committed by GitHub
commit 0941068c4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 1 deletions

View File

@ -27,11 +27,18 @@ else()
INCLUDE_DIRECTORIES(jni/linux)
endif()
set_target_properties(
taos
PROPERTIES
CLEAN_DIRECT_OUTPUT
1
)
set_target_properties(
taos
PROPERTIES
VERSION ${TD_VER_NUMBER}
SOVERSION ${TD_VER_NUMBER}
SOVERSION 1
)
add_library(taos_static STATIC ${CLIENT_SRC})