aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2016-03-31 23:39:53 +0200
committerShauren <shauren.trinity@gmail.com>2016-04-09 12:36:46 +0200
commit6a8e926584b24fead0d2a4392a372e02c795407c (patch)
tree4b8fe53d6756fca8eb29099e23f7bd9551081c0c /cmake
parentb197163a1d859897ca95af5c19637514ae5f615d (diff)
Travis: Fixed git version info output
(cherry picked from commit 03917c79cdecb906912d9a94ac5ccdaecc8f62e1)
Diffstat (limited to 'cmake')
-rw-r--r--cmake/genrev.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/genrev.cmake b/cmake/genrev.cmake
index 5c013756f09..d123153e975 100644
--- a/cmake/genrev.cmake
+++ b/cmake/genrev.cmake
@@ -24,7 +24,7 @@ else()
if(GIT_EXECUTABLE)
# Create a revision-string that we can use
execute_process(
- COMMAND "${GIT_EXECUTABLE}" describe --match init --dirty=+ --abbrev=12
+ COMMAND "${GIT_EXECUTABLE}" describe --long --match init --dirty=+ --abbrev=12
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
OUTPUT_VARIABLE rev_info
OUTPUT_STRIP_TRAILING_WHITESPACE