From d188c3d999a8c20b61cffc187d7148cde368e07e Mon Sep 17 00:00:00 2001 From: Juha Heinanen Date: Fri, 6 Jan 2023 00:22:35 +0200 Subject: [PATCH] Added re cmake stuff to CMakeLists.txt --- app/src/main/cpp/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/src/main/cpp/CMakeLists.txt b/app/src/main/cpp/CMakeLists.txt index f390f3fc..b72fce58 100644 --- a/app/src/main/cpp/CMakeLists.txt +++ b/app/src/main/cpp/CMakeLists.txt @@ -16,6 +16,10 @@ add_library(lib_re STATIC IMPORTED) set_target_properties(lib_re PROPERTIES IMPORTED_LOCATION ${distribution_DIR}/re/lib/${ANDROID_ABI}/libre.a) +set(re_DIR ${distribution_DIR}/re/cmake) +find_package(re CONFIG REQUIRED HINTS ${distribution_DIR}/re/cmake) +add_definitions(${RE_DEFINITIONS}) + add_library(lib_rem STATIC IMPORTED) set_target_properties(lib_rem PROPERTIES IMPORTED_LOCATION ${distribution_DIR}/rem/lib/${ANDROID_ABI}/librem.a)