Skip the qmake build when cross-compiling

Change-Id: I24da7eb9587235aa937a984e91a833284b4f28e5
Reviewed-by: Kevin Funk <kevin.funk@kdab.com>
bb10
Simon Hausmann 2019-02-15 13:16:35 +01:00
parent af7fe32ebd
commit 0b13578dcb
1 changed files with 3 additions and 1 deletions

View File

@ -40,7 +40,9 @@ if (BUILD_TESTING)
add_subdirectory(tests)
endif()
add_subdirectory(qmake)
if (NOT CMAKE_CROSSCOMPILING)
add_subdirectory(qmake)
endif()
option(BUILD_EXAMPLES "Build Qt examples" ON)
if (BUILD_EXAMPLES)