fix: fix compile error
This commit is contained in:
parent
0a337e82e3
commit
fb3c849141
|
@ -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 ()
|
||||
|
|
Loading…
Reference in New Issue