Skip to content

Commit

Permalink
fix(userspace/libscap): add common directory to libscap includes
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Dellaluce <[email protected]>
Co-authored-by: Matthew Knight <[email protected]>
  • Loading branch information
mattnite authored and poiana committed Oct 20, 2023
1 parent 0262474 commit c0f73f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/modules/libscap.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ else()
endif()

get_filename_component(LIBSCAP_INCLUDE_DIR ${LIBSCAP_DIR}/userspace/libscap ABSOLUTE)
set(LIBSCAP_INCLUDE_DIRS ${LIBSCAP_INCLUDE_DIR} ${DRIVER_CONFIG_DIR})
get_filename_component(LIBSCAP_COMMON_INCLUDE_DIR ${LIBSCAP_DIR}/userspace/common ABSOLUTE)
set(LIBSCAP_INCLUDE_DIRS ${LIBSCAP_INCLUDE_DIR} ${LIBSCAP_COMMON_INCLUDE_DIR} ${DRIVER_CONFIG_DIR})

function(set_scap_target_properties target)
set_target_properties(${target} PROPERTIES
Expand Down

0 comments on commit c0f73f5

Please sign in to comment.