diff --git a/CMakeLists.txt b/CMakeLists.txt index 8946d55d834..1eab8afcca9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)