Merge pull request #11865 from csukuangfj:patch_1

pull/11875/head
Alexander Alekhin 6 years ago
commit f73eff7517
  1. 2
      cmake/OpenCVUtils.cmake

@ -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

Loading…
Cancel
Save