Skip to content

Commit

Permalink
chore: Update CMakeLists file
Browse files Browse the repository at this point in the history
As title.

Log: update CMakeLists file
  • Loading branch information
wangrong1069 authored and deepin-bot[bot] committed Nov 3, 2023
1 parent 2d73ea6 commit 4233bda
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/library/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ endif()
# Setup the environment
find_package(PkgConfig REQUIRED)
pkg_check_modules(GLIB REQUIRED glib-2.0)

pkg_check_modules(LIBPCRE REQUIRED libpcre)

set(3RD_DIR "../../3rdparty")

Expand All @@ -40,12 +40,14 @@ set_target_properties(
target_link_libraries(
${PROJECT_NAME}
${GLIB_LIBRARIES}
${LIBPCRE_LIBRARIES}
)

target_include_directories(
${PROJECT_NAME}
PUBLIC
${GLIB_INCLUDE_DIRS}
${LIBPCRE_INCLUDE_DIRS}
${CMAKE_CURRENT_LIST_DIR}/inc
${CMAKE_CURRENT_LIST_DIR}/inc/index
${3RD_DIR}/fsearch
Expand Down

0 comments on commit 4233bda

Please sign in to comment.