diff --git a/version.cmake b/version.cmake index 5162ec7..07b4e4f 100644 --- a/version.cmake +++ b/version.cmake @@ -19,7 +19,7 @@ else() COMMAND bash -c "git diff --quiet --exit-code || echo +" OUTPUT_VARIABLE GIT_DIFF) execute_process( - COMMAND git describe --exact-match --tags + COMMAND git describe #--exact-match --tags OUTPUT_VARIABLE GIT_TAG ERROR_QUIET) execute_process( COMMAND git rev-parse --abbrev-ref HEAD @@ -48,4 +48,4 @@ endif() if (NOT "${VERSION}" STREQUAL "${VERSION_}") file(WRITE ${CMAKE_CURRENT_SOURCE_DIR}/version.cc "${VERSION}") -endif() \ No newline at end of file +endif()