mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Append -debug to version string (#5765)
This commit is contained in:
parent
0120fe16a7
commit
287605ca81
1 changed files with 5 additions and 0 deletions
|
@ -26,6 +26,11 @@ elseif(DEVELOPMENT_BUILD)
|
||||||
set(VERSION_STRING "${VERSION_STRING}-dev")
|
set(VERSION_STRING "${VERSION_STRING}-dev")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if (CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||||
|
# Append "-debug" to version string
|
||||||
|
set(VERSION_STRING "${VERSION_STRING}-debug")
|
||||||
|
endif()
|
||||||
|
|
||||||
message(STATUS "*** Will build version ${VERSION_STRING} ***")
|
message(STATUS "*** Will build version ${VERSION_STRING} ***")
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue