Skip to content

Commit

Permalink
make desktop_file independent from binary-name
Browse files Browse the repository at this point in the history
  • Loading branch information
pionere committed Sep 10, 2023
1 parent de0653a commit ac03e14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit ac03e14

Please sign in to comment.