From d4646938e91ede172958e3e08222226be5488a87 Mon Sep 17 00:00:00 2001 From: BreadFish64 Date: Mon, 24 Dec 2018 15:02:47 -0600 Subject: [PATCH] android: move cmakelist --- src/CMakeLists.txt | 5 +++-- src/android/app/{ => src/main/cpp}/CMakeLists.txt | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) rename src/android/app/{ => src/main/cpp}/CMakeLists.txt (85%) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index a0c433c77e..6138791ce7 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -15,9 +15,10 @@ if (ENABLE_QT) add_subdirectory(citra_qt) endif() if (ANDROID) - add_subdirectory(android/app) + add_subdirectory(android/app/src/main/cpp) +else() + add_subdirectory(dedicated_room) endif() if (ENABLE_WEB_SERVICE) add_subdirectory(web_service) endif() -add_subdirectory(dedicated_room) diff --git a/src/android/app/CMakeLists.txt b/src/android/app/src/main/cpp/CMakeLists.txt similarity index 85% rename from src/android/app/CMakeLists.txt rename to src/android/app/src/main/cpp/CMakeLists.txt index 6626c6f761..dbc2a22902 100644 --- a/src/android/app/CMakeLists.txt +++ b/src/android/app/src/main/cpp/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.8) add_library(citra-android STATIC - src/main/cpp/dummy.cpp + dummy.cpp ) # find Android's log library