提交 fb3c8491 编写于 作者: dengyihao's avatar dengyihao

fix: fix compile error

上级 0a337e82
......@@ -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 ()
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册