mirror of https://github.com/qt/qtbase.git
CMake: Fix Android non-top-level build against qtbase
Commit9e0fb9c4fb
introduced build failures in non-top-level builds when building Qt modules against qtbase. This was observed on in the CI for CentOS. Partly revert above commit by taking the old code path for non-top-level builds. Fixes: QTBUG-88718 Change-Id: I8926e1e4628ec5bdcea99e10497c1f65c10d072d Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> (cherry picked from commit510186a218
) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
5806ecf5cb
commit
e8d8b1a5e4
|
@ -570,5 +570,10 @@ macro(qt_examples_build_end)
|
|||
endmacro()
|
||||
|
||||
if (ANDROID)
|
||||
include(QtBuildInternals/QtBuildInternalsAndroid)
|
||||
if(QT_SUPERBUILD)
|
||||
include(QtBuildInternals/QtBuildInternalsAndroid)
|
||||
else()
|
||||
### TODO: Find out why this is needed. See QTBUG-88718.
|
||||
include(${CMAKE_CURRENT_LIST_DIR}/QtBuildInternalsAndroid.cmake)
|
||||
endif()
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue