cb497b03f8
Old patch had @@ -3,5 — missing trailing context line 'add_subdirectory(qmllint)' that diff -u includes. Regenerated from actual source.tmp to match fetched tarball.
19 lines
590 B
Diff
19 lines
590 B
Diff
--- a/tools/CMakeLists.txt
|
|
+++ b/tools/CMakeLists.txt
|
|
@@ -3,6 +3,15 @@
|
|
|
|
# Generated from tools.pro.
|
|
|
|
+# Red Bear: skip all tools during cross-compilation because the shared host
|
|
+# bootstrap does not include every qtdeclarative tool binary (qmlprofiler,
|
|
+# qmlpreview, qmlscene, etc). The libraries do not require these tools at
|
|
+# configure time; only the tools/ subdirectory tries to find them as host
|
|
+# binaries via qt_internal_add_tool().
|
|
+if(CMAKE_CROSSCOMPILING)
|
|
+ return()
|
|
+endif()
|
|
+
|
|
add_subdirectory(qmldom)
|
|
if(QT_FEATURE_commandlineparser)
|
|
add_subdirectory(qmllint)
|