From a994580b5dc140c8a799e2efe962f22e0e013313 Mon Sep 17 00:00:00 2001 From: Michael Troger Date: Thu, 29 Feb 2024 00:59:53 +0100 Subject: [PATCH] Move cmake file --- app/build.gradle | 2 +- app/{ => src/main/cpp}/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename app/{ => src/main/cpp}/CMakeLists.txt (94%) diff --git a/app/build.gradle b/app/build.gradle index 40ffb23..39e0bb2 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -36,7 +36,7 @@ android { } externalNativeBuild { cmake { - path 'CMakeLists.txt' + path 'src/main/cpp/CMakeLists.txt' } } buildFeatures { diff --git a/app/CMakeLists.txt b/app/src/main/cpp/CMakeLists.txt similarity index 94% rename from app/CMakeLists.txt rename to app/src/main/cpp/CMakeLists.txt index 475af29..4e88a8a 100644 --- a/app/CMakeLists.txt +++ b/app/src/main/cpp/CMakeLists.txt @@ -10,7 +10,7 @@ find_package(OpenCV REQUIRED CONFIG) add_library( app SHARED - src/main/cpp/native_opencv.cpp + native_opencv.cpp ) # compile with c++20 set_target_properties(