fix: userOperTest in linux (#30363)
Co-authored-by: taos-support <it@taosdata.com>
This commit is contained in:
parent
685fa2c42d
commit
8ad8bc741a
|
@ -36,10 +36,17 @@ TARGET_LINK_LIBRARIES(
|
||||||
#)
|
#)
|
||||||
|
|
||||||
ADD_EXECUTABLE(userOperTest ../../../tests/script/api/passwdTest.c)
|
ADD_EXECUTABLE(userOperTest ../../../tests/script/api/passwdTest.c)
|
||||||
|
if (TD_WINDOWS)
|
||||||
TARGET_LINK_LIBRARIES(
|
TARGET_LINK_LIBRARIES(
|
||||||
userOperTest
|
userOperTest
|
||||||
PUBLIC ${TAOS_NATIVE_LIB_STATIC}
|
PUBLIC ${TAOS_NATIVE_LIB_STATIC}
|
||||||
)
|
)
|
||||||
|
else()
|
||||||
|
TARGET_LINK_LIBRARIES(
|
||||||
|
userOperTest
|
||||||
|
PUBLIC ${TAOS_NATIVE_LIB}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
ADD_EXECUTABLE(stmt2Test stmt2Test.cpp)
|
ADD_EXECUTABLE(stmt2Test stmt2Test.cpp)
|
||||||
TARGET_LINK_LIBRARIES(
|
TARGET_LINK_LIBRARIES(
|
||||||
|
|
Loading…
Reference in New Issue