This commit is contained in:
朱子楚\zhuzi 2023-08-23 20:44:13 +08:00
parent 2b484124eb
commit 7fec01c2a4
2 changed files with 3 additions and 2 deletions

View File

@ -292,6 +292,9 @@ git_get_exact_tag(GIT_EXACT_TAG)
if(GIT_TAG STREQUAL "") if(GIT_TAG STREQUAL "")
git_latest_tag(GIT_TAG) git_latest_tag(GIT_TAG)
endif() endif()
if(GIT_TAG STREQUAL "GIT-TAG-NOTFOUND")
set(GIT_TAG "1.0.0")
endif ()
git_describe(GIT_DESCRIBE) git_describe(GIT_DESCRIBE)
git_commit_counts(GIT_COMMIT_COUNT) git_commit_counts(GIT_COMMIT_COUNT)
_git_find_closest_git_dir("${CMAKE_CURRENT_SOURCE_DIR}" GIT_DIR) _git_find_closest_git_dir("${CMAKE_CURRENT_SOURCE_DIR}" GIT_DIR)

View File

@ -517,8 +517,6 @@ Item{
} }
} }
} }
function open(){ function open(){
loader.sourceComponent = com_screen loader.sourceComponent = com_screen
} }