mirror of
https://github.com/g-truc/glm.git
synced 2025-04-07 06:25:00 +00:00
Fixed display of GLM version as part of GLM build messages
This commit is contained in:
parent
e12d724143
commit
abdb9fa3a2
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue