mirror of
https://github.com/WiVRn/WiVRn.git
synced 2026-11-26 11:56:47 -08:00
11 lines
259 B
CMake
11 lines
259 B
CMake
|
|
execute_process(COMMAND ${GIT_EXECUTABLE} describe --tags --always OUTPUT_VARIABLE GIT_DESC ERROR_QUIET)
|
|
|
|
if (GIT_DESC)
|
|
string(STRIP ${GIT_DESC} GIT_DESC)
|
|
else()
|
|
set(GIT_DESC v${CMAKE_PROJECT_VERSION})
|
|
endif()
|
|
|
|
configure_file(${INPUT_FILE} ${OUTPUT_FILE})
|