Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Append -debug to version string (#5765)
  • Loading branch information
bigfoot547 authored and nerzhul committed May 17, 2017
1 parent 0120fe1 commit 287605c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Expand Up @@ -26,6 +26,11 @@ elseif(DEVELOPMENT_BUILD)
set(VERSION_STRING "${VERSION_STRING}-dev")
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} ***")


Expand Down

0 comments on commit 287605c

Please sign in to comment.