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