--- cmake/GenerateVersion.cmake.in.orig	2016-03-09 20:19:17 UTC
+++ cmake/GenerateVersion.cmake.in
@@ -2,7 +2,7 @@ INCLUDE("@CMAKE_SOURCE_DIR@/cmake/Utils.
 GET_APP_VERSION(@APP_DIR@ APP_VERSION_MAJOR APP_VERSION_MINOR APP_VERSION_MAINTENANCE)
 GET_BUILD_ID("@GIT_EXECUTABLE@" "@CMAKE_SOURCE_DIR@" APP_BUILD_ID)
 
-SET(APP_BUILD_CHANNEL @APP_BUILD_CHANNEL@)
-SET(APP_BUILD_TYPE @CMAKE_BUILD_TYPE@)
+SET(APP_BUILD_CHANNEL "@APP_BUILD_CHANNEL@")
+SET(APP_BUILD_TYPE "@CMAKE_BUILD_TYPE@")
 STRING(SUBSTRING @CMAKE_BUILD_TYPE@ 0 1 APP_BUILD_TYPE_SHORT)
 CONFIGURE_FILE("@APP_SOURCE_DIR@/Version.h.in" "@CMAKE_CURRENT_BINARY_DIR@/Version.h" @ONLY)
