2 Commits

Author SHA1 Message Date
Michael Fabian 'Xaymar' Dirks 6d978a044e Version 1.2.1 2022-07-05 04:52:44 +02:00
Michael Fabian 'Xaymar' Dirks 2b80fbc79c code: Don't modify <out-var> unless necessary
Prevents odd cases which were unintended.
2022-07-05 04:51:59 +02:00
2 changed files with 2 additions and 3 deletions
+2 -2
View File
@@ -20,8 +20,8 @@
project = 'version'
copyright = "2022, Michael Fabian Dirks"
author = "Michael Fabian 'Xaymar' Dirks"
version = "1.2"
release = "1.2"
version = "1.2.1"
release = "1.2.1"
# -- General configuration ---------------------------------------------------
-1
View File
@@ -94,7 +94,6 @@ function(version)
set(OUT_VAR "${ARGV1}")
# Force clean parent elements.
set(${OUT_VAR} "" PARENT_SCOPE)
set(${OUT_VAR}_ERROR "" PARENT_SCOPE)
string(TOUPPER "${ARGV0}" ARGV0)