aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/Qt6QmlFindQmlscInternal.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/Qt6QmlFindQmlscInternal.cmake')
-rw-r--r--src/qml/Qt6QmlFindQmlscInternal.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/qml/Qt6QmlFindQmlscInternal.cmake b/src/qml/Qt6QmlFindQmlscInternal.cmake
new file mode 100644
index 0000000000..fc5bff1e2c
--- /dev/null
+++ b/src/qml/Qt6QmlFindQmlscInternal.cmake
@@ -0,0 +1,11 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: BSD-3-Clause
+
+if (QT_NO_FIND_QMLSC)
+ return()
+endif()
+
+set(QT_NO_FIND_QMLSC TRUE)
+
+# FIXME: Make this work with cross-builds
+find_package(Qt6QmlCompilerPlusPrivate QUIET)