Fixed issues 2496. Used option 4: parse_version.cmake to avoid python3 usage.
https://github.com/KhronosGroup/glslang/issues/2496
This commit is contained in:
parent
386b4fcb28
commit
05798c17fb
4 changed files with 64 additions and 43 deletions
|
|
@ -34,10 +34,10 @@
|
|||
#ifndef GLSLANG_BUILD_INFO
|
||||
#define GLSLANG_BUILD_INFO
|
||||
|
||||
#define GLSLANG_VERSION_MAJOR <major>
|
||||
#define GLSLANG_VERSION_MINOR <minor>
|
||||
#define GLSLANG_VERSION_PATCH <patch>
|
||||
#define GLSLANG_VERSION_FLAVOR "<flavor>"
|
||||
#define GLSLANG_VERSION_MAJOR @major@
|
||||
#define GLSLANG_VERSION_MINOR @minor@
|
||||
#define GLSLANG_VERSION_PATCH @patch@
|
||||
#define GLSLANG_VERSION_FLAVOR "@flavor@"
|
||||
|
||||
#define GLSLANG_VERSION_GREATER_THAN(major, minor, patch) \
|
||||
(((major) > GLSLANG_VERSION_MAJOR) || ((major) == GLSLANG_VERSION_MAJOR && \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue