diff options
Diffstat (limited to 'src/tools/CMakeLists.txt')
-rw-r--r-- | src/tools/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tools/CMakeLists.txt b/src/tools/CMakeLists.txt index 425a99b552..463f8bcc5b 100644 --- a/src/tools/CMakeLists.txt +++ b/src/tools/CMakeLists.txt @@ -9,5 +9,7 @@ add_subdirectory(qvkgen) # Only include the following tools when performing a host build if(NOT CMAKE_CROSSCOMPILING) add_subdirectory(androiddeployqt) - add_subdirectory(androidtestrunner) + if(QT_FEATURE_gui) + add_subdirectory(androidtestrunner) + endif() endif() |