diff --git a/cmake/QtBuildHelpers.cmake b/cmake/QtBuildHelpers.cmake index 18a89ad9fa6..62a3b3d5c93 100644 --- a/cmake/QtBuildHelpers.cmake +++ b/cmake/QtBuildHelpers.cmake @@ -127,6 +127,7 @@ macro(qt_internal_include_all_helpers) # Internal helpers available only while building Qt itself. include(Qt3rdPartyLibraryHelpers) + include(QtAndroidHelpers) include(QtAppHelpers) include(QtAutogenHelpers) include(QtBuildInformation) @@ -167,14 +168,7 @@ macro(qt_internal_include_all_helpers) include(QtTestHelpers) include(QtToolHelpers) include(QtUnityBuildHelpers) - - if(ANDROID) - include(QtAndroidHelpers) - endif() - - if(WASM) - include(QtWasmHelpers) - endif() + include(QtWasmHelpers) # Helpers that are available in public projects and while building Qt itself. include(QtPublicAppleHelpers)