cmake: added logic for building a tagged commit
authorThomas Ingleby <thomas.c.ingleby@intel.com>
Mon, 9 Jun 2014 18:14:03 +0000 (19:14 +0100)
committerThomas Ingleby <thomas.c.ingleby@intel.com>
Mon, 9 Jun 2014 18:19:16 +0000 (19:19 +0100)
commitf1a0e9825e2f637f67fff6382722fceb5b384944
tree91c6df2fc647dbc3293a0eb66f8ed6d6e1d71ebe
parent1289b39c6f4e770a12f49b7156f2637c5bdd4bac
cmake: added logic for building a tagged commit

* If the HEAD is 0 away from a tag, i.e. if it has just been tagged,
  removes commit number from version

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
CMakeLists.txt