Skip to content

Commit

Permalink
Ensure that there's no issues with the calver
Browse files Browse the repository at this point in the history
  • Loading branch information
Khrysys committed Nov 8, 2023
1 parent 465343d commit ca724f4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@ find_package(Python3 REQUIRED COMPONENTS Interpreter)
set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)

string(TIMESTAMP maj "%Y")
math(EXPR maj ${maj})
string(TIMESTAMP min "%m")
math(EXPR min ${min})
string(TIMESTAMP rev "%d")
math(EXPR rev ${rev})

project(DragonEngine VERSION ${maj}.${min}.${rev}.0)
set(Dragon_FOUND CACHE BOOL "" ON)
Expand Down
2 changes: 1 addition & 1 deletion modules/graphics

0 comments on commit ca724f4

Please sign in to comment.