From 671617bf10e1fd5ec0117d5b7af807660f530e02 Mon Sep 17 00:00:00 2001 From: Martchus Date: Sun, 29 Oct 2023 21:23:18 +0100 Subject: [PATCH] Apply cmake-format --- cmake/modules/QtConfig.cmake | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/cmake/modules/QtConfig.cmake b/cmake/modules/QtConfig.cmake index c36a3c4..0825e2d 100644 --- a/cmake/modules/QtConfig.cmake +++ b/cmake/modules/QtConfig.cmake @@ -115,7 +115,8 @@ endif () # allow configuring certain features when linking against static Qt option(OPENGL_SUPPORT "whether to enable native Wayland support (when linking against static Qt)" ON) option(NATIVE_WAYLAND_SUPPORT "whether to enable native Wayland support (when linking against static Qt)" ON) -option(NATIVE_WAYLAND_EGL_SUPPORT "specifies whether to enable native Wayland-EGL support (when linking against static Qt)" OFF) +option(NATIVE_WAYLAND_EGL_SUPPORT "specifies whether to enable native Wayland-EGL support (when linking against static Qt)" + OFF) # built-in platform, imageformat and iconengine plugins when linking statically against Qt if (TARGET "${QT_PACKAGE_PREFIX}::Core") @@ -207,12 +208,8 @@ if (STATIC_LINKAGE OR QT_TARGET_TYPE STREQUAL STATIC_LIBRARY) ONLY_PLUGINS) endif () set(QT_CONFIG_USE_WAYLAND_INTEGRATION NO) - set(QT_CONFIG_WAYLAND_CLIENT_PLUGINS - WaylandXdgShellIntegration - WaylandWlShellIntegration - WaylandIviShellIntegration - WaylandQtShellIntegration - ) + set(QT_CONFIG_WAYLAND_CLIENT_PLUGINS WaylandXdgShellIntegration WaylandWlShellIntegration WaylandIviShellIntegration + WaylandQtShellIntegration) if (NATIVE_WAYLAND_SUPPORT AND TARGET "${QT_PACKAGE_PREFIX}::QWaylandIntegrationPlugin") use_qt_module( LIBRARIES_VARIABLE @@ -224,7 +221,7 @@ if (STATIC_LINKAGE OR QT_TARGET_TYPE STREQUAL STATIC_LIBRARY) PLUGINS WaylandIntegration ONLY_PLUGINS) - SET(QT_CONFIG_USE_WAYLAND_INTEGRATION YES) + set(QT_CONFIG_USE_WAYLAND_INTEGRATION YES) endif () if (NATIVE_WAYLAND_EGL_SUPPORT AND TARGET "${QT_PACKAGE_PREFIX}::QWaylandEglPlatformIntegrationPlugin") use_qt_module( @@ -237,7 +234,7 @@ if (STATIC_LINKAGE OR QT_TARGET_TYPE STREQUAL STATIC_LIBRARY) PLUGINS WaylandEglPlatformIntegration ONLY_PLUGINS) - SET(QT_CONFIG_USE_WAYLAND_INTEGRATION YES) + set(QT_CONFIG_USE_WAYLAND_INTEGRATION YES) list(APPEND QT_CONFIG_WAYLAND_CLIENT_PLUGINS WaylandEglClientBuffer) endif () if (QT_CONFIG_USE_WAYLAND_INTEGRATION)