fixes to scm_rev generation to make it conistent with windows build

This commit is contained in:
bunnei 2014-04-23 19:13:00 -07:00
parent 121960a2eb
commit 80a040ac77
4 changed files with 34 additions and 5 deletions

View file

@ -34,6 +34,7 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/externals/cmake-modul
include(GetGitRevisionDescription)
get_git_head_revision(GIT_REF_SPEC GIT_REV)
git_describe(GIT_DESC --always --long --dirty)
git_branch_name(GIT_BRANCH)
# external includes
include_directories(${OPENGL_INCLUDE_DIR})