mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-03-22 11:18:44 +00:00
Use 'telegramdesktop' as a default desktop file base name.
This commit is contained in:
parent
98bfd7370d
commit
71d4563b9d
@ -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})
|
||||
|
Loading…
Reference in New Issue
Block a user