From e73215d2c72dfc8f7e60903c95a8fd80c16547d9 Mon Sep 17 00:00:00 2001 From: Yousef Khadadeh Date: Sun, 17 May 2026 11:27:20 +0300 Subject: [PATCH] Fixed macos build --- android-project/app/build.gradle | 2 +- conan/profiles/android | 15 +++++++++++++++ conan/profiles/macOS-arm64 | 5 ++++- 3 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 conan/profiles/android diff --git a/android-project/app/build.gradle b/android-project/app/build.gradle index 2f8e902..e04b990 100644 --- a/android-project/app/build.gradle +++ b/android-project/app/build.gradle @@ -32,7 +32,7 @@ android { ndkVersion = "29.0.14206865" defaultConfig { applicationId 'com.erroratline0.InfiniPaint' - minSdkVersion 26 + minSdkVersion 27 targetSdk 35 versionCode 1 versionName "1.0" diff --git a/conan/profiles/android b/conan/profiles/android new file mode 100644 index 0000000..ae8d040 --- /dev/null +++ b/conan/profiles/android @@ -0,0 +1,15 @@ +include(default) + +[settings] +os=Android +os.api_level=27 +arch=armv8 +compiler=clang +compiler.version=21 +compiler.libcxx=c++_shared +compiler.cppstd=23 + +[conf] +tools.build:cxxflags=["-fexceptions", "-frtti"] +# Set your NDK path here +tools.android:ndk_path=/NDK/PATH/HERE diff --git a/conan/profiles/macOS-arm64 b/conan/profiles/macOS-arm64 index 72b2b7c..c3c91fa 100755 --- a/conan/profiles/macOS-arm64 +++ b/conan/profiles/macOS-arm64 @@ -6,7 +6,10 @@ compiler.cppstd=gnu23 compiler.libcxx=libc++ compiler.version=17 os=Macos -os.version=11.0 +os.version=13.3 [tool_requires] cmake/3.27.0 + +[conf] +tools.build:cxxflags=["-fexceptions", "-frtti"]