Pre-Release v0.5 #54
@ -38,9 +38,8 @@ if (GIT_FOUND)
|
|||||||
)
|
)
|
||||||
message("${BoldGreen}Git based version number: ${GIT_DESCRIBE}${ColorReset}")
|
message("${BoldGreen}Git based version number: ${GIT_DESCRIBE}${ColorReset}")
|
||||||
else (GIT_FOUND)
|
else (GIT_FOUND)
|
||||||
set(GIT_DESCRIBE "v0.0.0-unknown")
|
|
||||||
message("${BoldRed}No git installation found. It is highly recommended using git to generate the version number")
|
message("${BoldRed}No git installation found. It is highly recommended using git to generate the version number")
|
||||||
message("Version is set to: ${GIT_DESCRIBE}${ColorReset}")
|
message(FATAL_ERROR "Git is required")
|
||||||
endif (GIT_FOUND)
|
endif (GIT_FOUND)
|
||||||
|
|
||||||
find_program(PATCHELFCRC patchelfcrc)
|
find_program(PATCHELFCRC patchelfcrc)
|
||||||
|
Loading…
Reference in New Issue
Block a user