Skip to content

Commit

Permalink
added cached variable for the patch version.
Browse files Browse the repository at this point in the history
  • Loading branch information
starokurov committed Jun 28, 2021
1 parent 86db3b0 commit 57fc8df
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
cmake_minimum_required(VERSION 3.2)

set(PATCH_VERSION "0" CACHE PATH "Number for the patch part of the version.")
set(PATCH_VERSION "1" CACHE INTERNAL "Patch version")
set(PROJECT_VESRION 0.0.${PATCH_VERSION})

project(helloworld VERSION 0.0.1)
project(helloworld VERSION ${PROJECT_VESRION})

find_package(Boost COMPONENTS unit_test_framework REQUIRED)

Expand Down

0 comments on commit 57fc8df

Please sign in to comment.