Move bench to directory unittest (#16386)

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
This commit is contained in:
Cai Yudong 2022-04-05 12:43:30 +08:00 committed by GitHub
parent 0c53f06a33
commit 7323180861
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 3 additions and 3 deletions

View File

@ -250,9 +250,6 @@ add_subdirectory( src )
if ( BUILD_UNIT_TEST STREQUAL "ON" )
append_flags( CMAKE_CXX_FLAGS FLAGS "-DELPP_DISABLE_LOGS")
add_subdirectory(unittest)
if (LINUX)
add_subdirectory(bench)
endif ()
endif ()
add_custom_target( Clean-All COMMAND ${CMAKE_BUILD_TOOL} clean )

View File

@ -99,3 +99,6 @@ target_link_libraries(all_tests
install(TARGETS all_tests DESTINATION unittest)
if (LINUX)
add_subdirectory(bench)
endif ()