Use 'telegramdesktop' as a default desktop file base name.

This commit is contained in:
John Preston 2020-01-22 11:53:10 +03:00
parent 98bfd7370d
commit 71d4563b9d
1 changed files with 1 additions and 5 deletions

View File

@ -91,10 +91,6 @@ if (TDESKTOP_DISABLE_DBUS_INTEGRATION)
endif()
if (NOT TDESKTOP_LAUNCHER_BASENAME)
if (NOT DESKTOP_APP_USE_PACKAGED)
set(TDESKTOP_LAUNCHER_BASENAME "telegramdesktop")
elseif (LINUX)
message(FATAL_ERROR "Please provide .desktop file base name (-D TDESKTOP_LAUNCHER_BASENAME=[basename]).")
endif()
set(TDESKTOP_LAUNCHER_BASENAME "telegramdesktop")
endif()
target_compile_definitions(Telegram PRIVATE TDESKTOP_LAUNCHER_BASENAME=${TDESKTOP_LAUNCHER_BASENAME})