Skip to content

Commit 76c9e91

Browse files
committed
fix versioning
1 parent 28aefd0 commit 76c9e91

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

CMakeLists.txt

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,6 @@ message(STATUS "DEBUG: Project source dir: ${PROJECT_SOURCE_DIR}")
2121
if(GIT_FOUND AND EXISTS "${PROJECT_SOURCE_DIR}/.git")
2222
message(STATUS "DEBUG: .git directory exists, attempting git operations")
2323

24-
message(STATUS "DEBUG: Running git fetch --prune --unshallow")
25-
execute_process(
26-
COMMAND ${GIT_EXECUTABLE} fetch --prune --unshallow
27-
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
28-
RESULT_VARIABLE FETCH_RESULT
29-
ERROR_VARIABLE FETCH_ERROR
30-
)
31-
message(STATUS "DEBUG: Fetch result: ${FETCH_RESULT}")
32-
if(FETCH_ERROR)
33-
message(STATUS "DEBUG: Fetch error: ${FETCH_ERROR}")
34-
endif()
35-
36-
set(GIT_VERSION_DESCRIBE "")
37-
38-
3924
message(STATUS "DEBUG: Running git describe --tags")
4025
execute_process(
4126
COMMAND ${GIT_EXECUTABLE} describe --tags

0 commit comments

Comments
 (0)