提交 8f09e275 编写于 作者: K Kozlov Dmitry
......@@ -2,7 +2,7 @@ SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -fvisibility=hidden -fno-strict-aliasi
IF (EXISTS ${CMAKE_HOME_DIRECTORY}/.git AND NOT DEFINED IGNORE_GIT)
EXECUTE_PROCESS(
COMMAND git log
COMMAND git log --no-color
COMMAND head -n1
COMMAND awk "{print $2}"
WORKING_DIRECTORY ${CMAKE_HOME_DIRECTORY}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册