fix(CMakeLists.txt): remove first letter app name macro

This commit is contained in:
Ronan Abhamon 2018-07-17 14:04:06 +02:00
parent 7ccfee4ca7
commit c319b58c72
2 changed files with 3 additions and 12 deletions

View file

@ -25,14 +25,8 @@ project(linphoneqt VERSION 4.1.1)
set(APP_LIBRARY app-library)
if (NOT DEFINED EXECUTABLE_NAME)
set(EXECUTABLE_NAME linphone)
endif ()
if (NOT DEFINED APPLICATION_NAME)
set(APPLICATION_NAME Linphone)
endif ()
set(EXECUTABLE_NAME linphone)
set(APPLICATION_NAME Linphone)
set(APPLICATION_DESCRIPTION "A libre SIP client")
# ------------------------------------------------------------------------------

View file

@ -29,7 +29,4 @@ if (NOT WIN32 AND NOT APPLE)
endif ()
set(EXECUTABLE_NAME linphone)
string(SUBSTRING ${EXECUTABLE_NAME} 0 1 FIRST_LETTER)
string(TOUPPER ${FIRST_LETTER} FIRST_LETTER)
string(REGEX REPLACE "^.(.*)" "${FIRST_LETTER}\\1" APPLICATION_NAME "${EXECUTABLE_NAME}")
set(APPLICATION_NAME Linphone)