Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
cmake: execute git from src directory
[vpp.git]
/
src
/
cmake
/
pack.cmake
diff --git
a/src/cmake/pack.cmake
b/src/cmake/pack.cmake
index
1df1981
..
0da3093
100644
(file)
--- a/
src/cmake/pack.cmake
+++ b/
src/cmake/pack.cmake
@@
-36,6
+36,7
@@
macro(add_vpp_packaging name)
# extract version from git
execute_process(
COMMAND git describe --long --match v*
+ WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
OUTPUT_VARIABLE VER
OUTPUT_STRIP_TRAILING_WHITESPACE
)