From 1d79059897ae35cc5af87a3afb0d5c05949ab2b3 Mon Sep 17 00:00:00 2001 From: chriseth Date: Wed, 14 Jun 2017 12:42:48 +0200 Subject: Convert license to character array. --- cmake/templates/license.h.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cmake/templates/license.h.in') diff --git a/cmake/templates/license.h.in b/cmake/templates/license.h.in index 48801347..b254e871 100644 --- a/cmake/templates/license.h.in +++ b/cmake/templates/license.h.in @@ -1,3 +1,5 @@ #pragma once -static char const* licenseText = R"(@LICENSE_TEXT@)"; +static char licenseText[] = { + 0x@LICENSE_TEXT@ +}; -- cgit From 1ce949519dabd252c553bf958cb3d7a2cf3ecb26 Mon Sep 17 00:00:00 2001 From: chriseth Date: Wed, 14 Jun 2017 14:17:53 +0200 Subject: Move 0x to cmake file. --- cmake/templates/license.h.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmake/templates/license.h.in') diff --git a/cmake/templates/license.h.in b/cmake/templates/license.h.in index b254e871..ccc61c99 100644 --- a/cmake/templates/license.h.in +++ b/cmake/templates/license.h.in @@ -1,5 +1,5 @@ #pragma once -static char licenseText[] = { - 0x@LICENSE_TEXT@ +static char const licenseText[] = { + @LICENSE_TEXT@ }; -- cgit