Explorar el Código

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

Sascha Zelzer hace 15 años
padre
commit
57ac6472b3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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()