File tree 1 file changed +1
-10
lines changed
1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -37,15 +37,6 @@ macro(_git var)
37
37
)
38
38
endmacro ()
39
39
40
- # call git, store output in var (can not fail)
41
- macro (git var)
42
- _git(${var} ${ARGN} )
43
- if (NOT _git_ec EQUAL 0)
44
- string (REPLACE ";" " " args "${ARGN} " )
45
- message (FATAL_ERROR "Failed to execute: git ${args} " )
46
- endif ()
47
- endmacro ()
48
-
49
40
function (extract_version_info version var_prefix)
50
41
# extract the main components
51
42
# v1.9.0-3-g5b92266+1546836556
@@ -91,7 +82,7 @@ function(determine_version source_dir var_prefix)
91
82
message (STATUS "Found no version.txt." )
92
83
endif ()
93
84
# for GIT_EXECUTABLE
94
- find_package (Git REQUIRED )
85
+ find_package (Git)
95
86
# get a description of the version, something like:
96
87
# v1.9.1-0-g38ffe82 (a tagged release)
97
88
# v1.9.1-0-g38ffe82-dirty (a tagged release with local modifications)
You can’t perform that action at this time.
0 commit comments