Browse Source

COMP: QtMobility: Set the debug/release flag correctly for MinGW

Sascha Zelzer 15 years ago
parent
commit
57ac6472b3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      CMakeExternals/QtMobility.cmake

+ 1 - 1
CMakeExternals/QtMobility.cmake

@@ -30,7 +30,7 @@ IF(${add_project})
   # Define configure options
   SET(qtmobility_modules "serviceframework")
   SET(qtmobility_build_type "release")
-  IF(UNIX)
+  IF(UNIX OR MINGW)
     IF(CMAKE_BUILD_TYPE STREQUAL "Debug")
       SET(qtmobility_build_type "debug")
     ENDIF()