From a6cfaed88711657d2145d4aa35bae84fe077e638 Mon Sep 17 00:00:00 2001 From: Sultan Uramaev Date: Mon, 27 May 2024 00:32:39 +0500 Subject: [PATCH] Update cmake/utils.cmake --- cmake/utils.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/utils.cmake b/cmake/utils.cmake index 45135b6ec12..5d45f55158c 100644 --- a/cmake/utils.cmake +++ b/cmake/utils.cmake @@ -59,8 +59,8 @@ function(calculate_xray_build_id output) list(GET current_date_list 2 CURRENT_DATE_YEAR) # Check if current date is before the start date - # See issue#1611 - if( (CURRENT_DATE_YEAR LESS XRAY_START_YEAR) + # See https://github.com/OpenXRay/xray-16/issues/1611 + if ( (CURRENT_DATE_YEAR LESS XRAY_START_YEAR) OR ( (CURRENT_DATE_YEAR EQUAL XRAY_START_YEAR) AND (CURRENT_DATE_MONTH LESS XRAY_START_MONTH) OR ( (CURRENT_DATE_MONTH EQUAL XRAY_START_MONTH)