Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
kebekus committed Jan 6, 2025
1 parent f194c6d commit fd8996f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 .)
Expand Down

0 comments on commit fd8996f

Please sign in to comment.