git-svn-id: svn://db.shs.com.ru/libs@943 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2020-04-10 20:09:33 +00:00
parent f1ffc4a8ab
commit 16dabb1e3c

View File

@@ -200,8 +200,10 @@ macro(find_qt)
foreach(m ${_QCOMP}) foreach(m ${_QCOMP})
if (${Qt5${m}_FOUND}) if (${Qt5${m}_FOUND})
set(__lib ${Qt5${m}_LIBRARIES}) set(__lib ${Qt5${m}_LIBRARIES})
if (m IN_LIST __qt_bug_modules) if (DEFINED ANDROID_PLATFORM)
get_target_property(__lib Qt5::${m} LOCATION) if (m IN_LIST __qt_bug_modules)
get_target_property(__lib Qt5::${m} LOCATION)
endif()
endif() endif()
list(APPEND _Qt5Modules ${m}) list(APPEND _Qt5Modules ${m})
list(APPEND Qt5_INCLUDES ${Qt5${m}_INCLUDE_DIRS}) list(APPEND Qt5_INCLUDES ${Qt5${m}_INCLUDE_DIRS})