From 29b8207048273c90823934425bf205c33fec1c6f Mon Sep 17 00:00:00 2001 From: chiteroman Date: Thu, 15 Aug 2024 13:24:03 +0200 Subject: [PATCH] Add cJSON header files to path --- module/src/main/cpp/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/module/src/main/cpp/CMakeLists.txt b/module/src/main/cpp/CMakeLists.txt index 7e95632..d67cdd0 100644 --- a/module/src/main/cpp/CMakeLists.txt +++ b/module/src/main/cpp/CMakeLists.txt @@ -31,4 +31,5 @@ add_library(${MODULE_NAME} SHARED binder_interceptor.cpp) target_link_libraries(${MODULE_NAME} PRIVATE log binder utils elf_util my_logging) add_library(tszygisk SHARED zygisk/main.cpp external/cJSON/cJSON.c) +target_include_directories(tszygisk PUBLIC external/cJSON) target_link_libraries(tszygisk PRIVATE log my_logging)