Skip to content

Commit

Permalink
Don't use the CMake MinGW if cross-compiling.
Browse files Browse the repository at this point in the history
This way, the default generator is used when cross compiling
for mingw.

Change-Id: Ie536f1bca35ea38aec1232cdd95fc063c4f23e70
Reviewed-by: Oswald Buddenhagen <[email protected]>
Reviewed-by: Stephen Kelly <[email protected]>
Reviewed-by: Peter Kümmel <[email protected]>
  • Loading branch information
Stephen Kelly authored and The Qt Project committed Apr 16, 2013
1 parent ae6f9d0 commit 0084272
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkspecs/features/ctest_testcase.prf
Original file line number Diff line number Diff line change
Expand Up @@ -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\"
Expand Down

0 comments on commit 0084272

Please sign in to comment.