Skip to content

Commit dd6ad59

Browse files
Merge pull request #47 from Dushistov/fix-ninja-buffering
force ninja to show what is going on in terminal
2 parents 98be1a1 + 8807e25 commit dd6ad59

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

AddQtAndroidApk.cmake

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.0.0 FATAL_ERROR)
1+
cmake_minimum_required(VERSION 3.2 FATAL_ERROR)
22

33
# store the current source directory for future use
44
set(QT_ANDROID_SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR})
@@ -294,6 +294,9 @@ macro(add_qt_android_apk TARGET SOURCE_TARGET)
294294
add_custom_target(
295295
${TARGET}
296296
ALL
297+
# prevent output buffering in Ninja case, because of gradle part
298+
# may take too long
299+
USES_TERMINAL
297300
DEPENDS ${SOURCE_TARGET}
298301
${QT_ANDROID_PRE_COMMANDS}
299302
# it seems that recompiled libraries are not copied if we don't remove them first

0 commit comments

Comments
 (0)