diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro
index 6f06ba591f..38e705e02f 100644
--- a/tests/auto/auto.pro
+++ b/tests/auto/auto.pro
@@ -22,7 +22,7 @@ installed_cmake.depends = cmake
 ios: SUBDIRS  = corelib gui
 
 wince:                                      SUBDIRS -= printsupport
-cross_compile:                              SUBDIRS -= tools
+cross_compile:                              SUBDIRS -= tools cmake installed_cmake
 !qtHaveModule(opengl):                      SUBDIRS -= opengl
 !qtHaveModule(gui):                         SUBDIRS -= gui cmake
 !qtHaveModule(widgets):                     SUBDIRS -= widgets