projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e2f578
)
Fix read GIT_HEAD and GIT_DESCRIBE from environment
124/head
author
Alf Gaida
<agaida@siduction.org>
Sat, 25 Apr 2015 17:25:34 +0000
(19:25 +0200)
committer
Alf Gaida
<agaida@siduction.org>
Sat, 25 Apr 2015 17:27:11 +0000
(19:27 +0200)
add missed ENV
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
d873973
..
3028a42
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-570,10
+570,10
@@
git_describe(GIT_DESCRIBE --long)
# enviroment
if (NOT GIT_HEAD OR NOT GIT_DESCRIBE)
if (DEFINED ENV{GIT_HEAD})
- set(GIT_HEAD ${GIT_HEAD})
+ set(GIT_HEAD $
ENV
{GIT_HEAD})
endif ()
if (DEFINED ENV{GIT_DESCRIBE})
- set(GIT_DESCRIBE ${GIT_DESCRIBE})
+ set(GIT_DESCRIBE $
ENV
{GIT_DESCRIBE})
endif()
endif()