diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-03-18 14:35:40 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-03-18 16:25:40 +0000 |
commit | 3b673994ea0311616db7022cef859705e25cdfab (patch) | |
tree | 7e637d7c5df75f121fce53ac8aeb59178e21981c /src/designer/src/lib/CMakeLists.txt | |
parent | d9a3e03934076aea8852f1c4b142a5ecfeea0297 (diff) |
CMake: Regenerate projects after mergewip/cmake
Plus additional adjustments.
Change-Id: I0c2341ef6a5557e18df91b753f9e441c5b1a68e2
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/designer/src/lib/CMakeLists.txt')
-rw-r--r-- | src/designer/src/lib/CMakeLists.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/designer/src/lib/CMakeLists.txt b/src/designer/src/lib/CMakeLists.txt index 323e190be..24df4582a 100644 --- a/src/designer/src/lib/CMakeLists.txt +++ b/src/designer/src/lib/CMakeLists.txt @@ -170,6 +170,10 @@ qt_add_module(Designer Qt::UiPlugin Qt::Widgets Qt::Xml + PRIVATE_MODULE_INTERFACE + Qt::CorePrivate + Qt::GuiPrivate + Qt::WidgetsPrivate ENABLE_AUTOGEN_TOOLS uic PRECOMPILED_HEADER @@ -444,6 +448,11 @@ qt_add_resource(Designer "shared" ## Scopes: ##################################################################### +qt_extend_target(Designer CONDITION TARGET Qt::OpenGLWidgets + PUBLIC_LIBRARIES + Qt::OpenGLWidgets +) + qt_extend_target(Designer CONDITION static DEFINES QT_DESIGNER_STATIC @@ -556,3 +565,8 @@ qt_extend_target(Designer CONDITION QT_BUILD_SHARED_LIBS INCLUDE_DIRECTORIES ../../../shared/qtpropertybrowser ) + +qt_extend_target(Designer CONDITION QT_FEATURE_opengl + LIBRARIES + Qt::OpenGL +) |