Set QT_ANDROID_VERSION_NAME for Android target

This commit is contained in:
Martchus 2023-03-11 19:59:09 +01:00
parent ab298b200f
commit 65b86d71f6
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ if (ANDROID)
if (ANDROID_ABI)
set_target_properties(${META_TARGET_NAME} PROPERTIES SUFFIX "_${ANDROID_ABI}.so")
endif ()
set_target_properties(${META_TARGET_NAME} PROPERTIES QT_ANDROID_VERSION_NAME "${META_VERSION_MAJOR}.${META_VERSION_MINOR}.${META_VERSION_PATCH}")
else ()
add_executable(${META_TARGET_NAME} ${GUI_TYPE} ${ALL_FILES})
endif ()