File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -10,14 +10,16 @@ file(GLOB_RECURSE SRCS
10
10
"*.c*"
11
11
)
12
12
13
+ string (TIMESTAMP _current_year "%Y" )
14
+
13
15
file (MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR} /rc" )
14
16
if (WIN32 )
15
17
include (ResourceMaker)
16
18
17
19
MAKE_STRINGRC_VERSIONINFO(
18
20
_arrcon_stringrc_versioninfo
19
21
"${ARRCON_VERSION} "
20
- "Copyright © 2022 by radj307"
22
+ "Copyright © ${_current_year} by radj307"
21
23
"radj307"
22
24
"ARRCON"
23
25
"Commandline client for communicating with servers using the Source RCON Protocol."
@@ -32,7 +34,7 @@ endif()
32
34
33
35
MAKE_VERSION_HEADER("${CMAKE_CURRENT_BINARY_DIR} /rc/version.h" ARRCON "${ARRCON_VERSION_EXTENDED} " )
34
36
include (CopyrightMaker)
35
- MAKE_COPYRIGHT_HEADER("${CMAKE_CURRENT_BINARY_DIR} /rc/copyright.h" ARRCON 2022 radj307)
37
+ MAKE_COPYRIGHT_HEADER("${CMAKE_CURRENT_BINARY_DIR} /rc/copyright.h" ARRCON ${_current_year} radj307)
36
38
37
39
file (GLOB RESOURCES
38
40
CONFIGURE_DEPENDS
You can’t perform that action at this time.
0 commit comments