mirror of
https://invent.kde.org/plasma/layer-shell-qt.git
synced 2025-05-27 18:40:21 -04:00
Reformat CMake code for better readability
This commit is contained in:
parent
6f8a3f5d42
commit
a5fbaa5975
@ -8,11 +8,12 @@ add_library(LayerShellQtInterface)
|
|||||||
if (Qt6_VERSION VERSION_GREATER_EQUAL "6.8.0")
|
if (Qt6_VERSION VERSION_GREATER_EQUAL "6.8.0")
|
||||||
set(private_code_option "PRIVATE_CODE")
|
set(private_code_option "PRIVATE_CODE")
|
||||||
endif()
|
endif()
|
||||||
qt6_generate_wayland_protocol_client_sources(LayerShellQtInterface FILES
|
qt6_generate_wayland_protocol_client_sources(LayerShellQtInterface
|
||||||
${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
|
|
||||||
${private_code_option}
|
${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
|
ecm_qt_declare_logging_category(LayerShellQtInterface
|
||||||
|
Loading…
Reference in New Issue
Block a user