build: link-libtaos.so.1

This commit is contained in:
afwerar 2022-08-29 10:36:16 +08:00
parent 2ad31384f6
commit 081e844645
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})