Fix C4ENGINECAPTION generation

Not only was it interpolating the wrong variable, it was also adding a
space that shouldn't be there.
stable-6.1
Nicolas Hake 2015-05-22 20:59:17 +02:00
parent bc624176e7
commit cc46f0a388
1 changed files with 5 additions and 1 deletions

View File

@ -35,8 +35,8 @@ SET(C4COPYRIGHT_YEAR ${YEARFIXED})
# Build version strings
############################################################################
SET(C4ENGINEID "${C4PROJECT_TLD}.${C4PROJECT_DOMAIN}.${C4ENGINENICK}")
set(C4ENGINECAPTION "${C4ENGINECAPTION} ${C4VERSIONBUILDNAME}")
set(C4ENGINEINFO "${C4ENGINENAME}")
set(C4ENGINECAPTION "${C4ENGINENAME}")
set(C4VERSION "${C4XVER1}.${C4XVER2}")
@ -44,6 +44,10 @@ if(C4VERSIONEXTRA)
set(C4VERSION "${C4VERSION}-${C4VERSIONEXTRA}")
endif()
if(C4VERSIONBUILDNAME)
set(C4ENGINECAPTION "${C4ENGINECAPTION} ${C4VERSIONBUILDNAME}")
endif()
if(WIN32)
set(C4VERSION "${C4VERSION} win")
elseif(APPLE)