From 9eceb46739803bb7482e9017cd79df92203ecbad Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Thu, 19 Mar 2020 16:02:44 +0100 Subject: Fix link on commit sha in about dialog Passing a URL via defines breaks when trying to "stringify" it. It would always stop at the first slash. Instead use a qmake variable directly. That has the additional advantage that the value isn't passed on each and every compiler command line. Change-Id: I97a297fbcdee5ea03eb6fa08181c95b1ad2de767 Reviewed-by: Cristian Adam --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index cb79a450f0..9cf66c74aa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,9 +8,9 @@ include(QtCreatorIDEBranding) set(IDE_REVISION FALSE CACHE BOOL "Marks the presence of IDE revision string.") set(IDE_REVISION_STR "" CACHE STRING "The IDE revision string.") -set(IDE_REVISION_URL_STR "" CACHE STRING "The IDE revision Url string.") +set(IDE_REVISION_URL "" CACHE STRING "The IDE revision Url string.") -mark_as_advanced(IDE_REVISION IDE_REVISION_STR IDE_REVISION_URL_STR) +mark_as_advanced(IDE_REVISION IDE_REVISION_STR IDE_REVISION_URL) project(QtCreator VERSION ${IDE_VERSION}) -- cgit v1.2.3