From ffa8792c1326f4c50497788a1ed47235898ebd1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sat, 14 Jan 2017 18:12:15 +0100 Subject: NOISSUE always include the hotfix version in the version string It's 0.5.0, not 0.5. --- application/CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'application') 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}") -- cgit v1.2.3