Skip to content

Commit

Permalink
chore: add dfm-base log header to textindex service
Browse files Browse the repository at this point in the history
- Add dfm_log_defines.h to textindex service build
- Include base directory in textindex include paths
- Update CMake configuration for logging support

This change enables consistent logging across the project by
integrating the base logging definitions into the textindex
service.

Log:
  • Loading branch information
Johnson-zs committed Nov 30, 2024
1 parent 76f99c2 commit 9cc043d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/services/textindex/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ FILE(GLOB_RECURSE SRC_FILES
"${CMAKE_CURRENT_SOURCE_DIR}/*.policy"
"${FULL_TEXT_PATH}/*.cpp"
"${FULL_TEXT_PATH}/*.h"
"${CMAKE_SOURCE_DIR}/include/dfm-base/dfm_log_defines.h"
)

find_package(PkgConfig REQUIRED)
Expand Down Expand Up @@ -45,6 +46,7 @@ target_include_directories(${PROJECT_NAME}
${CMAKE_CURRENT_SOURCE_DIR}
${GLIB_INCLUDE_DIRS}
${PCRE_INCLUDE_DIRS}
${CMAKE_SOURCE_DIR}/include
${FULL_TEXT_PATH}/..
)

Expand Down

0 comments on commit 9cc043d

Please sign in to comment.