Fix some includes
[openal-soft.git] / version.cmake
blobaf7ff0a67e5524fdded7b70904dd16d5bf3a9e89
1 EXECUTE_PROCESS(
2     COMMAND ${GIT_EXECUTABLE} rev-parse --abbrev-ref HEAD
3     OUTPUT_VARIABLE GIT_BRANCH
4     OUTPUT_STRIP_TRAILING_WHITESPACE
6 EXECUTE_PROCESS(
7     COMMAND ${GIT_EXECUTABLE} log -1 --format=%h
8     OUTPUT_VARIABLE GIT_COMMIT_HASH
9     OUTPUT_STRIP_TRAILING_WHITESPACE
11 CONFIGURE_FILE(${SRC} ${DST})