mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Append -debug to version string (#5765)
This commit is contained in:
@@ -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} ***")
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user