uti: cmake: Add include dir pointing to libsyscall_intercept_hook_point.h

Change-Id: Iaea58725a16722d867cb27ffb4d9347b8756f9f2
This commit is contained in:
Masamichi Takagi
2019-06-03 12:37:13 +09:00
parent fb924ebb9d
commit e58e1c6e33
2 changed files with 7 additions and 2 deletions

View File

@@ -58,7 +58,8 @@ endif()
if (ENABLE_UTI)
add_library(mck_syscall_intercept SHARED syscall_intercept.c arch/${ARCH}/archdep_c.c)
target_link_libraries(mck_syscall_intercept ${LIBSYSCALL_INTERCEPT})
target_link_libraries(mck_syscall_intercept ${LIBSYSCALL_INTERCEPT_LIBRARIES})
target_include_directories(mck_syscall_intercept PRIVATE ${LIBSYSCALL_INTERCEPT_INCLUDE_DIRS})
set_target_properties(mck_syscall_intercept PROPERTIES INSTALL_RPATH_USE_LINK_PATH TRUE)
install(TARGETS mck_syscall_intercept