summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2013-04-15 17:11:07 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-04-16 19:45:11 +0200
commit0084272c5cab6e03999890956f238c2b62a3d818 (patch)
tree91a7c8ec9123fa7b1524a6bb5d0db3eb20322457 /mkspecs
parentae6f9d00a65de227dfb908672aa01a406a1c5c43 (diff)
Don't use the CMake MinGW if cross-compiling.
This way, the default generator is used when cross compiling for mingw. Change-Id: Ie536f1bca35ea38aec1232cdd95fc063c4f23e70 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com> Reviewed-by: Peter K├╝mmel <syntheticpp@gmx.net>
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/ctest_testcase.prf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/features/ctest_testcase.prf b/mkspecs/features/ctest_testcase.prf
index c88fc961cf..3045a21672 100644
--- a/mkspecs/features/ctest_testcase.prf
+++ b/mkspecs/features/ctest_testcase.prf
@@ -37,7 +37,7 @@ isEmpty(CMAKE_VERSION) {
CMAKE_BUILD_TYPE = Debug
CONFIG(release, debug|release):CMAKE_BUILD_TYPE = Release
- win32-g++*:CMAKE_GENERATOR = -G \"MinGW Makefiles\"
+ win32-g++*:isEmpty(CROSS_COMPILE):CMAKE_GENERATOR = -G \"MinGW Makefiles\"
win32:equals(QT_ARCH, x86_64) {
win32-msvc2010:CMAKE_GENERATOR = -G \"Visual Studio 10 Win64\"
win32-msvc2012:CMAKE_GENERATOR = -G \"Visual Studio 11 Win64\"