summaryrefslogtreecommitdiff
path: root/accel-pppd/CMakeLists.txt
diff options
context:
space:
mode:
authorKozlov Dmitry <xeb@mail.ru>2012-06-29 21:54:04 +0400
committerKozlov Dmitry <xeb@mail.ru>2012-06-29 21:54:04 +0400
commit8e46d2416a2e7ab563f6b3b1ff761799ccbcf0f4 (patch)
tree626c65a71ca46de8674391c204bae9cf154869e0 /accel-pppd/CMakeLists.txt
parentef7a38b7a8f74315d6546564585c679da1a714ae (diff)
downloadaccel-ppp-8e46d2416a2e7ab563f6b3b1ff761799ccbcf0f4.tar.gz
accel-ppp-8e46d2416a2e7ab563f6b3b1ff761799ccbcf0f4.zip
Fix setting of ACCEL_PPP_VERSION with git coloured output
Diffstat (limited to 'accel-pppd/CMakeLists.txt')
-rw-r--r--accel-pppd/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/CMakeLists.txt b/accel-pppd/CMakeLists.txt
index 30e6c910..97c60349 100644
--- a/accel-pppd/CMakeLists.txt
+++ b/accel-pppd/CMakeLists.txt
@@ -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}