Skip to content

Commit

Permalink
fix: include directories
Browse files Browse the repository at this point in the history
  • Loading branch information
ncvicchi committed Oct 9, 2024
1 parent 6352483 commit 5909139
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/common/privsep_op/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
add_library(privsep_op STATIC src/privsep_op.c)

get_filename_component(COMMON_FOLDER ${CMAKE_CURRENT_SOURCE_DIR}/../ ABSOLUTE)
target_include_directories(privsep_op PUBLIC include)
include_directories(${COMMON_FOLDER}/pal/include)

target_link_libraries(privsep_op utils time_op Logger)
2 changes: 2 additions & 0 deletions src/common/pthreads_op/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
add_library(pthreads_op STATIC src/pthreads_op.c)

get_filename_component(COMMON_FOLDER ${CMAKE_CURRENT_SOURCE_DIR}/../ ABSOLUTE)
target_include_directories(pthreads_op PUBLIC include)
include_directories(${COMMON_FOLDER}/pal/include)

target_link_libraries(pthreads_op utils time_op Logger)
2 changes: 2 additions & 0 deletions src/common/regex_op/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
add_library(regex_op STATIC src/regex_op.c)

get_filename_component(COMMON_FOLDER ${CMAKE_CURRENT_SOURCE_DIR}/../ ABSOLUTE)
target_include_directories(regex_op PUBLIC include)
include_directories(${COMMON_FOLDER}/pal/include)

target_link_libraries(regex_op utils Logger time_op)

0 comments on commit 5909139

Please sign in to comment.