diff --git a/tests/auto/other/CMakeLists.txt b/tests/auto/other/CMakeLists.txt index 5e2be543b5d..16f96cd5f4e 100644 --- a/tests/auto/other/CMakeLists.txt +++ b/tests/auto/other/CMakeLists.txt @@ -47,6 +47,6 @@ if(QT_FEATURE_xkbcommon AND TARGET Qt::Gui) add_subdirectory(xkbkeyboard) endif() -if(ANDROID) +if(ANDROID AND QT_BUILD_STANDALONE_TESTS) add_subdirectory(android_deployment_settings) endif()