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 .)