CMake: Prevent creation of private modules without private headers
QtConcurrent and QtOpenGLWidgets don't have any private headers. There's no point in creating private modules for them. Task-number: QTBUG-132526 Change-Id: I2a19ae13d11232b47fd72e46173e8d8cb34a4189 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
parent
58be29388d
commit
bd2f1e2f90
@ -6,6 +6,7 @@
|
|||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
qt_internal_add_module(Concurrent
|
qt_internal_add_module(Concurrent
|
||||||
|
NO_PRIVATE_MODULE
|
||||||
EXCEPTIONS
|
EXCEPTIONS
|
||||||
SOURCES
|
SOURCES
|
||||||
qtaskbuilder.h
|
qtaskbuilder.h
|
||||||
@ -33,8 +34,6 @@ qt_internal_add_module(Concurrent
|
|||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
PUBLIC_LIBRARIES
|
PUBLIC_LIBRARIES
|
||||||
Qt::Core
|
Qt::Core
|
||||||
PRIVATE_MODULE_INTERFACE
|
|
||||||
Qt::CorePrivate
|
|
||||||
PRECOMPILED_HEADER
|
PRECOMPILED_HEADER
|
||||||
"../corelib/global/qt_pch.h"
|
"../corelib/global/qt_pch.h"
|
||||||
)
|
)
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
qt_internal_add_module(OpenGLWidgets
|
qt_internal_add_module(OpenGLWidgets
|
||||||
|
NO_PRIVATE_MODULE
|
||||||
SOURCES
|
SOURCES
|
||||||
qopenglwidget.cpp qopenglwidget.h
|
qopenglwidget.cpp qopenglwidget.h
|
||||||
qtopenglwidgetsglobal.h
|
qtopenglwidgetsglobal.h
|
||||||
|
Loading…
x
Reference in New Issue
Block a user