Skip to content

Commit

Permalink
Remove work-around which doesn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
stsoe committed Sep 8, 2023
1 parent 413c4df commit 5da8ada
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/CMake/version.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
# Copyright (C) 2019-2021 Xilinx, Inc. All rights reserved.
# Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.

# Work-around to ensure XRT_COMMITS always carries a value
# even when execute_process doesn't run
set (XRT_COMMITS 0)

# Get the branch
execute_process(
COMMAND ${GIT_EXECUTABLE} rev-parse --abbrev-ref HEAD
Expand Down

0 comments on commit 5da8ada

Please sign in to comment.