From 1445414ff356faf08f0b707c589fae4a4bbe84c5 Mon Sep 17 00:00:00 2001 From: Filippo Gentile Date: Wed, 3 Apr 2024 22:24:15 +0200 Subject: [PATCH] CMake: fix double dekstop file installed in autostart --- autostart/CMakeLists.txt | 2 +- autostart/lxqt-panel_wayland.desktop.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/autostart/CMakeLists.txt b/autostart/CMakeLists.txt index ffb441221..6d044738b 100644 --- a/autostart/CMakeLists.txt +++ b/autostart/CMakeLists.txt @@ -1,4 +1,4 @@ -file(GLOB DESKTOP_FILES_IN *.desktop.in) +set(DESKTOP_FILES lxqt-panel.desktop.in) # Translations ********************************** lxqt_translate_desktop(DESKTOP_FILES diff --git a/autostart/lxqt-panel_wayland.desktop.in b/autostart/lxqt-panel_wayland.desktop.in index 62c914178..089082aea 100644 --- a/autostart/lxqt-panel_wayland.desktop.in +++ b/autostart/lxqt-panel_wayland.desktop.in @@ -2,7 +2,7 @@ Type=Application TryExec=lxqt-panel -# NOTE: KWin wants absolute path here, make sure it's correct +# NOTE: KWin wants absolute path here, get it from CMake install path Exec=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_BINDIR@/lxqt-panel # NOTE: adding KDE to make it work under Plasma Wayland session