fix(test): fix unit test link error.

This commit is contained in:
Haojun Liao 2023-05-25 18:17:09 +08:00
parent c3be7b14be
commit 30de31e374
1 changed files with 2 additions and 2 deletions

View File

@ -15,11 +15,11 @@ ADD_EXECUTABLE(streamUpdateTest "tstreamUpdateTest.cpp")
IF (TD_GRANT)
TARGET_LINK_LIBRARIES(streamUpdateTest
PUBLIC os util common gtest gtest_main stream executor grant
PUBLIC os util common gtest gtest_main stream executor index grant
)
ELSE ()
TARGET_LINK_LIBRARIES(streamUpdateTest
PUBLIC os util common gtest gtest_main stream executor
PUBLIC os util common gtest gtest_main stream executor index
)
ENDIF()