From fb3c8491415ab63ddbb5d7611732bd5ba86312d5 Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Sun, 11 Sep 2022 23:01:37 +0800 Subject: [PATCH] fix: fix compile error --- source/libs/index/test/CMakeLists.txt | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/source/libs/index/test/CMakeLists.txt b/source/libs/index/test/CMakeLists.txt index f3ddb6f629..2bc7353aa5 100644 --- a/source/libs/index/test/CMakeLists.txt +++ b/source/libs/index/test/CMakeLists.txt @@ -5,7 +5,6 @@ IF(NOT TD_DARWIN) add_executable(idxUtilUT "") add_executable(idxJsonUT "") add_executable(idxFstUtilUT "") - add_executable(idxBench "") target_sources(idxTest PRIVATE @@ -33,10 +32,6 @@ IF(NOT TD_DARWIN) PRIVATE "fstUtilUT.cc" ) - target_sources(idxBench - PRIVATE - "indexBench.cc" - ) target_include_directories (idxTest PUBLIC @@ -90,11 +85,6 @@ IF(NOT TD_DARWIN) "${TD_SOURCE_DIR}/include/libs/index" "${CMAKE_CURRENT_SOURCE_DIR}/../inc" ) - target_include_directories (idxBench - PUBLIC - "${TD_SOURCE_DIR}/include/libs/index" - "${CMAKE_CURRENT_SOURCE_DIR}/../inc" - ) target_link_libraries (idxTest os @@ -162,13 +152,6 @@ IF(NOT TD_DARWIN) gtest_main index ) - target_link_libraries (idxBench - os - util - common - gtest_main - index - ) add_test( NAME idxJsonUT @@ -192,8 +175,4 @@ IF(NOT TD_DARWIN) NAME idxFstUT COMMAND idxFstUT ) - add_test( - NAME idxBench - COMMAND idxBench - ) ENDIF () -- GitLab