From 15f108b536fc2cb465e23ab8defe09f8f0774c6d Mon Sep 17 00:00:00 2001 From: David Redondo Date: Mon, 2 Mar 2026 10:46:31 +0100 Subject: [PATCH] Remove unneeded Qt version check --- src/CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 49bd7d5..e0c16d3 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -7,11 +7,8 @@ add_library(LayerShellQtInterface) qt6_extract_metatypes(LayerShellQtInterface) -if (Qt6_VERSION VERSION_GREATER_EQUAL "6.8.0") - set(private_code_option "PRIVATE_CODE") -endif() qt6_generate_wayland_protocol_client_sources(LayerShellQtInterface - ${private_code_option} + PRIVATE_CODE FILES ${WaylandProtocols_DATADIR}/stable/xdg-shell/xdg-shell.xml ${WaylandProtocols_DATADIR}/staging/xdg-activation/xdg-activation-v1.xml