Generate C4Version.h into binary directory, as per Isilkors suggestion

stable-5.1
Peter Wortmann 2010-08-01 16:42:01 +01:00
parent 18cc4058e6
commit e061c802f6
1 changed files with 2 additions and 1 deletions

View File

@ -70,4 +70,5 @@ if(NOT ${C4VERSIONEXTRA} STREQUAL "")
set(C4ENGINEINFOLONG "${C4ENGINEINFO} (${C4VERSIONBUILDNAME})")
endif()
CONFIGURE_FILE(src/C4Version.h.in src/C4Version.h ESCAPE_QUOTES)
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/src/C4Version.h.in ${CMAKE_CURRENT_BINARY_DIR}/C4Version.h ESCAPE_QUOTES)