From abdb9fa3a2519cd5a9ae28774b98a455c6c934e2 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Tue, 28 Aug 2018 01:12:15 +0200 Subject: [PATCH] Fixed display of GLM version as part of GLM build messages --- glm/detail/setup.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/glm/detail/setup.hpp b/glm/detail/setup.hpp index 27bd3f4a..ebb4b5e1 100644 --- a/glm/detail/setup.hpp +++ b/glm/detail/setup.hpp @@ -832,9 +832,11 @@ namespace detail #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_MESSAGE_DISPLAYED) # define GLM_MESSAGE_DISPLAYED +# define GLM_STR_HELPER(x) #x +# define GLM_STR(x) GLM_STR_HELPER(x) // Report GLM version -# pragma message (GLM_VERSION_MESSAGE) +# pragma message (GLM_STR(GLM_VERSION_MESSAGE)) // Report C++ language # if (GLM_LANG & GLM_LANG_CXX2A_FLAG) && (GLM_LANG & GLM_LANG_EXT)