Changed: Update year in copyright automatically
This commit is contained in:
parent
7d11f82e58
commit
74722cb678
1 changed files with 7 additions and 1 deletions
|
@ -44,12 +44,18 @@ CHECK_OUT_OF_SOURCE()
|
||||||
# To be able to specify a different deployment target on Mac OS X :
|
# To be able to specify a different deployment target on Mac OS X :
|
||||||
# export MACOSX_DEPLOYMENT_TARGET=10.6
|
# export MACOSX_DEPLOYMENT_TARGET=10.6
|
||||||
|
|
||||||
|
IF(CMAKE_VERSION VERSION_GREATER "2.8.10")
|
||||||
|
STRING(TIMESTAMP CURRENT_YEAR "%Y")
|
||||||
|
ELSE()
|
||||||
|
SET(CURRENT_YEAR "2016")
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
|
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
|
||||||
PROJECT(RyzomCore CXX C)
|
PROJECT(RyzomCore CXX C)
|
||||||
SET(NL_VERSION_MAJOR 0)
|
SET(NL_VERSION_MAJOR 0)
|
||||||
SET(NL_VERSION_MINOR 12)
|
SET(NL_VERSION_MINOR 12)
|
||||||
SET(NL_VERSION_PATCH 0)
|
SET(NL_VERSION_PATCH 0)
|
||||||
SET(YEAR "2004-2015")
|
SET(YEAR "2004-${CURRENT_YEAR}")
|
||||||
SET(AUTHOR "Winchgate and The Ryzom Core Community")
|
SET(AUTHOR "Winchgate and The Ryzom Core Community")
|
||||||
|
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue