Skip to content

Commit

Permalink
build: fix bug in tag parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
jnooree committed May 22, 2023
1 parent 36953b5 commit fb6ae2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/NurikitUtils.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ macro(_nurikit_get_git_version_impl)

if(git_result EQUAL 0)
string(STRIP "${NURIKIT_REF}" NURIKIT_REF)
string(REPLACE v "" NURIKIT_VERSION "${NURIKIT_REF}")
string(REGEX REPLACE "^v" "" NURIKIT_VERSION "${NURIKIT_REF}")
message(STATUS "Nurikit version from git: ${NURIKIT_VERSION}")
else()
execute_process(
Expand Down

0 comments on commit fb6ae2f

Please sign in to comment.