mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
Fix default version with missing .git directory
This commit is contained in:
parent
bcab484095
commit
c7e2a2ea7c
@ -24,8 +24,8 @@ if(status AND NOT status EQUAL 0)
|
||||
string(REGEX REPLACE "^netgen(.*)" "\\1" git_version_string "${git_version_string}")
|
||||
endif()
|
||||
else()
|
||||
MESSAGE(WARNING "Could not determine git-version from source code - assuming 6.2.0.0")
|
||||
set(git_version_string "v6.2.0.0")
|
||||
MESSAGE(WARNING "Could not determine git-version from source code - assuming 6.2.0-0")
|
||||
set(git_version_string "v6.2.0-0")
|
||||
endif()
|
||||
endif()
|
||||
string(STRIP ${git_version_string} git_version_string)
|
||||
|
Loading…
Reference in New Issue
Block a user