Remove unneeded Qt version check

This commit is contained in:
David Redondo
2026-03-02 10:46:31 +01:00
parent dd76feea81
commit 15f108b536

View File

@ -7,11 +7,8 @@ add_library(LayerShellQtInterface)
qt6_extract_metatypes(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 qt6_generate_wayland_protocol_client_sources(LayerShellQtInterface
${private_code_option} PRIVATE_CODE
FILES FILES
${WaylandProtocols_DATADIR}/stable/xdg-shell/xdg-shell.xml ${WaylandProtocols_DATADIR}/stable/xdg-shell/xdg-shell.xml
${WaylandProtocols_DATADIR}/staging/xdg-activation/xdg-activation-v1.xml ${WaylandProtocols_DATADIR}/staging/xdg-activation/xdg-activation-v1.xml