From a5fbaa5975911fdd4aa80168879b4b41ab57d027 Mon Sep 17 00:00:00 2001 From: David Redondo Date: Wed, 14 Aug 2024 11:08:41 +0200 Subject: [PATCH] Reformat CMake code for better readability --- src/CMakeLists.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 3e64296..123c52b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -8,11 +8,12 @@ add_library(LayerShellQtInterface) if (Qt6_VERSION VERSION_GREATER_EQUAL "6.8.0") set(private_code_option "PRIVATE_CODE") endif() -qt6_generate_wayland_protocol_client_sources(LayerShellQtInterface FILES - ${WaylandProtocols_DATADIR}/stable/xdg-shell/xdg-shell.xml - ${WaylandProtocols_DATADIR}/staging/xdg-activation/xdg-activation-v1.xml - ${CMAKE_CURRENT_SOURCE_DIR}/wlr-layer-shell-unstable-v1.xml +qt6_generate_wayland_protocol_client_sources(LayerShellQtInterface ${private_code_option} + FILES + ${WaylandProtocols_DATADIR}/stable/xdg-shell/xdg-shell.xml + ${WaylandProtocols_DATADIR}/staging/xdg-activation/xdg-activation-v1.xml + ${CMAKE_CURRENT_SOURCE_DIR}/wlr-layer-shell-unstable-v1.xml ) ecm_qt_declare_logging_category(LayerShellQtInterface