Commit c319b58c authored by Ronan's avatar Ronan

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

parent 7ccfee4c
...@@ -25,14 +25,8 @@ project(linphoneqt VERSION 4.1.1) ...@@ -25,14 +25,8 @@ project(linphoneqt VERSION 4.1.1)
set(APP_LIBRARY app-library) set(APP_LIBRARY app-library)
if (NOT DEFINED EXECUTABLE_NAME) set(EXECUTABLE_NAME linphone)
set(EXECUTABLE_NAME linphone) set(APPLICATION_NAME Linphone)
endif ()
if (NOT DEFINED APPLICATION_NAME)
set(APPLICATION_NAME Linphone)
endif ()
set(APPLICATION_DESCRIPTION "A libre SIP client") set(APPLICATION_DESCRIPTION "A libre SIP client")
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
......
...@@ -29,7 +29,4 @@ if (NOT WIN32 AND NOT APPLE) ...@@ -29,7 +29,4 @@ if (NOT WIN32 AND NOT APPLE)
endif () endif ()
set(EXECUTABLE_NAME linphone) set(EXECUTABLE_NAME linphone)
set(APPLICATION_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}")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment