summaryrefslogtreecommitdiffstats
path: root/src/plugins/imageformats/wbmp
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2021-07-06 18:24:10 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2021-07-06 21:05:30 +0200
commitdc8debe54474f00d374231ce3d619a8209a2f643 (patch)
treef36f3cf2f2090d4d028024474b93b4ebf8c8a033 /src/plugins/imageformats/wbmp
parent44e4111f67b5c9c4fc8428e8f491d21c573b58b6 (diff)
CMake: Don't give plugins PUBLIC usage requirements
The pro2cmake.py conversion script faithfully reproduced the .pro files for the plugins, which specified the libraries as public. But in CMake, the implications of this are that public usage requirements should then be propagated to consumers. We don't expect any consumers, since a plugin is created as a MODULE library in CMake, so for Windows we don't even have an import library to link with. The only exception to this is for static builds where plugins are created as STATIC libraries instead, but only in certain controlled situations do we then link to plugins. Even then, usage requirements are not expected to propagate to the consumers, so these relationships should always be specified as private. Pick-to: 6.2 Task-number: QTBUG-90819 Change-Id: I8ec7cf501c13cfc9b107ae38f70cba3536b196e4 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/plugins/imageformats/wbmp')
-rw-r--r--src/plugins/imageformats/wbmp/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/imageformats/wbmp/CMakeLists.txt b/src/plugins/imageformats/wbmp/CMakeLists.txt
index 95cdcd8..d250fee 100644
--- a/src/plugins/imageformats/wbmp/CMakeLists.txt
+++ b/src/plugins/imageformats/wbmp/CMakeLists.txt
@@ -10,7 +10,7 @@ qt_internal_add_plugin(QWbmpPlugin
SOURCES
main.cpp
qwbmphandler.cpp qwbmphandler_p.h
- PUBLIC_LIBRARIES
+ LIBRARIES
Qt::Core
Qt::Gui
)