aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Croitor <[email protected]>2025-04-03 10:31:45 +0200
committerAlexandru Croitor <[email protected]>2025-04-07 18:31:46 +0200
commit8704b53eac6a19e6b8ae64764e50ba84e59f4fc9 (patch)
treea859d44b60f8e46b0b3f398829674e40a93a3fd1
parentcff02c18526289915e867a71b95ced3f0734f7b9 (diff)
CMake: Prevent creation of private modules without private headers
Add NO_PRIVATE_MODULE to the creation flags of module that don't have any private headers. There's no point in creating private modules for them. Amends e053cefe0894ef253764ce4a0771a9058c693e7b Task-number: QTBUG-132526 Change-Id: I16caacdbe2af297a1a8c980725b542dd20080041 Reviewed-by: Alexey Edelev <[email protected]>
-rw-r--r--src/quickcontrols/macos/impl/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quickcontrols/macos/impl/CMakeLists.txt b/src/quickcontrols/macos/impl/CMakeLists.txt
index 6456feff2d..e32358b9a6 100644
--- a/src/quickcontrols/macos/impl/CMakeLists.txt
+++ b/src/quickcontrols/macos/impl/CMakeLists.txt
@@ -21,6 +21,7 @@ qt_internal_add_qml_module(QuickControls2MacOSStyleImpl
DEPENDENCIES
QtQuick/auto
PLUGIN_TARGET qtquickcontrols2macosstyleimplplugin
+ NO_PRIVATE_MODULE
QML_FILES
${qml_files}
DEFINES