Skip to content

Commit

Permalink
Update cmake/utils.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY authored May 26, 2024
1 parent 04462d6 commit a6cfaed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/utils.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a6cfaed

Please sign in to comment.