Commit f73eff75 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #11865 from csukuangfj:patch_1

parents 5a27f7c8 8e24a8b7
...@@ -1624,7 +1624,7 @@ endif() ...@@ -1624,7 +1624,7 @@ endif()
macro(ocv_git_describe var_name path) macro(ocv_git_describe var_name path)
if(GIT_FOUND) if(GIT_FOUND)
execute_process(COMMAND "${GIT_EXECUTABLE}" describe --tags --tags --exact-match --dirty execute_process(COMMAND "${GIT_EXECUTABLE}" describe --tags --exact-match --dirty
WORKING_DIRECTORY "${path}" WORKING_DIRECTORY "${path}"
OUTPUT_VARIABLE ${var_name} OUTPUT_VARIABLE ${var_name}
RESULT_VARIABLE GIT_RESULT RESULT_VARIABLE GIT_RESULT
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment