Skip to content

Commit

Permalink
Update GitVersion.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
jahnf authored Oct 13, 2023
1 parent 6c400ae commit 3224691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/modules/GitVersion.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function(get_version_info prefix directory)
set(${prefix}_VERSION_ISDIRTY 0 PARENT_SCOPE)
set(${prefix}_VERSION_BUILDTYPE "${CMAKE_BUILD_TYPE}" PARENT_SCOPE)
set(${prefix}_VERSION_DATE_MONTH_YEAR "" PARENT_SCOPE)
if("${${prefix}_VERSION_DISTANCE_OFFSET}" STREQUEAL "")
if("${${prefix}_VERSION_DISTANCE_OFFSET}" STREQUAL "")
set(${prefix}_VERSION_DISTANCE_OFFSET 0)
endif()

Expand Down

0 comments on commit 3224691

Please sign in to comment.