From 525120783b98fbd2081b1dd4ff0e2a6ff2c7552e Mon Sep 17 00:00:00 2001 From: shzhulin3 Date: Thu, 22 Apr 2021 14:25:41 +0800 Subject: [PATCH] modify CMakeList.txt --- src/search_local/index_read/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/search_local/index_read/CMakeLists.txt b/src/search_local/index_read/CMakeLists.txt index 3147763..a873918 100644 --- a/src/search_local/index_read/CMakeLists.txt +++ b/src/search_local/index_read/CMakeLists.txt @@ -8,6 +8,7 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -lrt -Wall -O2") AUX_SOURCE_DIRECTORY(. main) AUX_SOURCE_DIRECTORY(./index_sync index_sync) AUX_SOURCE_DIRECTORY(./utils utils) +AUX_SOURCE_DIRECTORY(./query query) LINK_DIRECTORIES( ${PROJECT_SOURCE_DIR}/../../comm @@ -15,7 +16,7 @@ ${PROJECT_SOURCE_DIR}/../../3rdlib/jsoncpp/lib ${PROJECT_SOURCE_DIR}/../../comm/stat ) -ADD_EXECUTABLE(index_read ${main} ${index_sync} ${utils}) +ADD_EXECUTABLE(index_read ${main} ${index_sync} ${utils} ${query}) target_include_directories(index_read PUBLIC ../../3rdlib/jsoncpp/include