Reading GLM version in CMake using REGEX on GLM header

This commit is contained in:
christophe
2020-05-02 18:32:19 +02:00
parent 280ba02382
commit a44e293c40
2 changed files with 21 additions and 8 deletions

View File

@@ -3,14 +3,14 @@
#include <cassert>
#include <cstddef>
#define GLM_VERSION_MAJOR 0
#define GLM_VERSION_MINOR 9
#define GLM_VERSION_PATCH 9
#define GLM_VERSION_REVISION 8
#define GLM_VERSION 998
#define GLM_VERSION_MESSAGE "GLM: version 0.9.9.8"
#define GLM_VERSION_MAJOR 0
#define GLM_VERSION_MINOR 9
#define GLM_VERSION_PATCH 9
#define GLM_VERSION_REVISION 8
#define GLM_VERSION 998
#define GLM_VERSION_MESSAGE "GLM: version 0.9.9.8"
#define GLM_SETUP_INCLUDED GLM_VERSION
#define GLM_SETUP_INCLUDED GLM_VERSION
///////////////////////////////////////////////////////////////////////////////////
// Active states