From 32246919c3b641448ce6afb9616f169316163425 Mon Sep 17 00:00:00 2001 From: Jahn F Date: Fri, 13 Oct 2023 07:11:40 +0200 Subject: [PATCH] Update GitVersion.cmake --- cmake/modules/GitVersion.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/modules/GitVersion.cmake b/cmake/modules/GitVersion.cmake index ce470ba..f026978 100644 --- a/cmake/modules/GitVersion.cmake +++ b/cmake/modules/GitVersion.cmake @@ -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()