mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2025-08-15 20:02:08 -07:00
added scm rev generation on Linux/cmake
This commit is contained in:
@@ -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})
|
||||
|
||||
|
Reference in New Issue
Block a user