From 16dabb1e3c0d66e70ad079b0a406e58c5d7831af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9F=D0=B5=D0=BB=D0=B8=D0=BF=D0=B5=D0=BD=D0=BA=D0=BE=20?= =?UTF-8?q?=D0=98=D0=B2=D0=B0=D0=BD?= Date: Fri, 10 Apr 2020 20:09:33 +0000 Subject: [PATCH] git-svn-id: svn://db.shs.com.ru/libs@943 a8b55f48-bf90-11e4-a774-851b48703e85 --- qad/cmake/QtWraps.cmake | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/qad/cmake/QtWraps.cmake b/qad/cmake/QtWraps.cmake index 30a1d1a..a684c2e 100644 --- a/qad/cmake/QtWraps.cmake +++ b/qad/cmake/QtWraps.cmake @@ -200,8 +200,10 @@ macro(find_qt) foreach(m ${_QCOMP}) if (${Qt5${m}_FOUND}) set(__lib ${Qt5${m}_LIBRARIES}) - if (m IN_LIST __qt_bug_modules) - get_target_property(__lib Qt5::${m} LOCATION) + if (DEFINED ANDROID_PLATFORM) + if (m IN_LIST __qt_bug_modules) + get_target_property(__lib Qt5::${m} LOCATION) + endif() endif() list(APPEND _Qt5Modules ${m}) list(APPEND Qt5_INCLUDES ${Qt5${m}_INCLUDE_DIRS})