Skip to content
Permalink
Browse files

Append -debug to version string (#5765)

  • Loading branch information
bigfoot547 authored and nerzhul committed May 17, 2017
1 parent 0120fe1 commit 287605ca8151f68224c919f45e2ae425cf6849a9
Showing with 5 additions and 0 deletions.
  1. +5 −0 CMakeLists.txt
@@ -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} ***")


0 comments on commit 287605c

Please sign in to comment.