summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-01-14 18:12:15 +0100
committerPetr Mrázek <peterix@gmail.com>2017-01-14 18:12:15 +0100
commitffa8792c1326f4c50497788a1ed47235898ebd1c (patch)
tree1545a8b6092246371e6ec501aca2c0d0b0929607 /application
parentfbcbddd4d0d956679dba52c91aa9467944b486b4 (diff)
downloadMultiMC-ffa8792c1326f4c50497788a1ed47235898ebd1c.tar
MultiMC-ffa8792c1326f4c50497788a1ed47235898ebd1c.tar.gz
MultiMC-ffa8792c1326f4c50497788a1ed47235898ebd1c.tar.lz
MultiMC-ffa8792c1326f4c50497788a1ed47235898ebd1c.tar.xz
MultiMC-ffa8792c1326f4c50497788a1ed47235898ebd1c.zip
NOISSUE always include the hotfix version in the version string
It's 0.5.0, not 0.5.
Diffstat (limited to 'application')
-rw-r--r--application/CMakeLists.txt5
1 files changed, 1 insertions, 4 deletions
diff --git a/application/CMakeLists.txt b/application/CMakeLists.txt
index 2e9e0c4e..90fa1aca 100644
--- a/application/CMakeLists.txt
+++ b/application/CMakeLists.txt
@@ -36,10 +36,7 @@ set(MultiMC_WONKO_ROOT_URL "" CACHE STRING "Root URL for wonko stuff")
message(STATUS "Git commit: ${MultiMC_GIT_COMMIT}")
message(STATUS "Git refspec: ${MultiMC_GIT_REFSPEC}")
-set(MultiMC_RELEASE_VERSION_NAME "${MultiMC_VERSION_MAJOR}.${MultiMC_VERSION_MINOR}")
-if(MultiMC_VERSION_HOTFIX GREATER 0)
- set(MultiMC_RELEASE_VERSION_NAME "${MultiMC_RELEASE_VERSION_NAME}.${MultiMC_VERSION_HOTFIX}")
-endif()
+set(MultiMC_RELEASE_VERSION_NAME "${MultiMC_VERSION_MAJOR}.${MultiMC_VERSION_MINOR}.${MultiMC_VERSION_HOTFIX}")
#### Custom target to just print the version.
add_custom_target(version echo "Version: ${MultiMC_RELEASE_VERSION_NAME}")