From 30760a99b94573138fde244df4fc2bac3a3922fd Mon Sep 17 00:00:00 2001 From: WhiredPlanck Date: Wed, 15 Nov 2023 16:50:50 +0800 Subject: [PATCH] build(jni): use marisa vendored by (lib)rime --- app/src/main/jni/cmake/FindMarisa.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/jni/cmake/FindMarisa.cmake b/app/src/main/jni/cmake/FindMarisa.cmake index be2f4976bc..130da80b46 100644 --- a/app/src/main/jni/cmake/FindMarisa.cmake +++ b/app/src/main/jni/cmake/FindMarisa.cmake @@ -1,3 +1,4 @@ set(Marisa_FOUND TRUE) set(Marisa_LIBRARY marisa) -set(Marisa_INCLUDE_PATH "${CMAKE_SOURCE_DIR}/OpenCC/deps/marisa-0.2.6/include") +get_target_property(Marisa_INCLUDE_PATH marisa + INTERFACE_INCLUDE_DIRECTORIES)