From ac03e14bcb916eff046ec0b7ee21690a980020e4 Mon Sep 17 00:00:00 2001 From: pionere Date: Sun, 10 Sep 2023 09:33:11 +0200 Subject: [PATCH] make desktop_file independent from binary-name --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e08235e3bc1..7d3daa5fbb9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1333,7 +1333,7 @@ if(CPACK) find_program(DFI desktop-file-install) if(DFI) - execute_process(COMMAND ${DFI} --dir=${CMAKE_BINARY_DIR} ${desktop_file}) + execute_process(COMMAND ${DFI} --dir=${CMAKE_BINARY_DIR} --set-key=Exec --set-value=${BIN_TARGET} ${desktop_file}) set(desktop_file "${CMAKE_BINARY_DIR}/${desktop_file_name}") endif()