Files
WiVRn/cmake/GitVersion.cmake
T
2022-11-05 22:10:57 +01:00

6 lines
163 B
CMake

execute_process(COMMAND git describe --always OUTPUT_VARIABLE GIT_VERSION)
string(STRIP ${GIT_VERSION} GIT_VERSION)
configure_file(${INPUT_FILE} ${OUTPUT_FILE})