From fd8996f9c2cf2d3fe59c6cd4959f209a08147e28 Mon Sep 17 00:00:00 2001 From: Stefan Kebekus Date: Mon, 6 Jan 2025 09:31:27 +0100 Subject: [PATCH] Update CMakeLists.txt --- src/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 7520af8..b469ed3 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -72,6 +72,9 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Android") if (Qt6Core_VERSION VERSION_EQUAL "6.8.1") message(FATAL_ERROR "Qt version 6.8.1 is known to have critical errors with multi-architecture Android. Please use a different version.") endif() + if(NOT ANDROID_PLATFORM STREQUAL "android-28") + message(FATAL_ERROR "ANDROID_PLATFORM must be set to android-28, is currently set to " ${ANDROID_PLATFORM}) + endif() # Icons file(COPY ${CMAKE_SOURCE_DIR}/generatedSources/src/android DESTINATION .)