CMake: Skip building tst_qprocess test when cross compiling
tst_qprocess hangs on the qemu armv7 configuration. Task-number: QTBUG-85287 Change-Id: I5a77a81a24bb1bd315edfcf14f3bcbfd5b925e4d Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
This commit is contained in:
parent
7789c0dc86
commit
554d40da58
@ -41,7 +41,12 @@ if(TARGET Qt::Network)
|
||||
add_subdirectory(qiodevice)
|
||||
endif()
|
||||
if(QT_FEATURE_process AND TARGET Qt::Network AND NOT ANDROID)
|
||||
add_subdirectory(qprocess)
|
||||
# special case begin
|
||||
# QTBUG-85287: Hangs on qemu armv7 config
|
||||
if(NOT CMAKE_CROSSCOMPILING)
|
||||
add_subdirectory(qprocess)
|
||||
endif()
|
||||
# special case end
|
||||
endif()
|
||||
if(QT_FEATURE_process)
|
||||
add_subdirectory(qprocess-noapplication)
|
||||
|
Loading…
Reference in New Issue
Block a user