mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 09:25:45 +00:00
added scm rev generation on Linux/cmake
This commit is contained in:
parent
7a136b8a84
commit
4405a53cf3
10 changed files with 211 additions and 53 deletions
|
@ -29,6 +29,12 @@ if(NOT DISABLE_QT4)
|
|||
endif()
|
||||
endif()
|
||||
|
||||
# generate git revision information
|
||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/externals/cmake-modules/")
|
||||
include(GetGitRevisionDescription)
|
||||
get_git_head_revision(GIT_REF_SPEC GIT_REV)
|
||||
git_describe(GIT_DESC --always --long --dirty)
|
||||
|
||||
# external includes
|
||||
include_directories(${OPENGL_INCLUDE_DIR})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue