From 30de31e37431ac2e793769141692b0680d6e836f Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Thu, 25 May 2023 18:17:09 +0800 Subject: [PATCH] fix(test): fix unit test link error. --- source/libs/stream/test/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/libs/stream/test/CMakeLists.txt b/source/libs/stream/test/CMakeLists.txt index 160cddbd4c..049bfbbb3a 100644 --- a/source/libs/stream/test/CMakeLists.txt +++ b/source/libs/stream/test/CMakeLists.txt @@ -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()