зеркало из https://github.com/nextcloud/desktop.git
Use separate variable for cfg file name in CMAKE.
Signed-off-by: alex-z <blackslayer4@gmail.com>
This commit is contained in:
Родитель
a5e4d97593
Коммит
ba9d3269e3
|
@ -1,6 +1,7 @@
|
|||
set( APPLICATION_NAME "Nextcloud" )
|
||||
set( APPLICATION_SHORTNAME "Nextcloud" )
|
||||
set( APPLICATION_EXECUTABLE "nextcloud" )
|
||||
set( APPLICATION_CONFIG_NAME "${APPLICATION_EXECUTABLE}" )
|
||||
set( APPLICATION_DOMAIN "nextcloud.com" )
|
||||
set( APPLICATION_VENDOR "Nextcloud GmbH" )
|
||||
set( APPLICATION_UPDATE_URL "https://updates.nextcloud.org/client/" CACHE STRING "URL for updater" )
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
#cmakedefine APPLICATION_REV_DOMAIN "@APPLICATION_REV_DOMAIN@"
|
||||
#cmakedefine APPLICATION_SHORTNAME "@APPLICATION_SHORTNAME@"
|
||||
#cmakedefine APPLICATION_EXECUTABLE "@APPLICATION_EXECUTABLE@"
|
||||
#cmakedefine APPLICATION_CONFIG_NAME "@APPLICATION_CONFIG_NAME@"
|
||||
#cmakedefine APPLICATION_UPDATE_URL "@APPLICATION_UPDATE_URL@"
|
||||
#cmakedefine APPLICATION_HELP_URL "@APPLICATION_HELP_URL@"
|
||||
#cmakedefine APPLICATION_ICON_NAME "@APPLICATION_ICON_NAME@"
|
||||
|
|
|
@ -196,7 +196,7 @@ QString Theme::version() const
|
|||
|
||||
QString Theme::configFileName() const
|
||||
{
|
||||
return QStringLiteral(APPLICATION_EXECUTABLE ".cfg");
|
||||
return QStringLiteral(APPLICATION_CONFIG_NAME ".cfg");
|
||||
}
|
||||
|
||||
#ifndef TOKEN_AUTH_ONLY
|
||||
|
|
Загрузка…
Ссылка в новой задаче