From 73e1acfd9206eb753963fcd3849443e78a851752 Mon Sep 17 00:00:00 2001 From: Matt Borgerson Date: Sun, 26 Jan 2025 01:54:34 -0700 Subject: [PATCH] scripts/gen-license.py: Get version from glslang subproj --- scripts/gen-license.py | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/scripts/gen-license.py b/scripts/gen-license.py index 8be7aeb3fa..31c240aaac 100755 --- a/scripts/gen-license.py +++ b/scripts/gen-license.py @@ -261,6 +261,12 @@ Lib('SPIRV-Reflect', 'https://github.com/KhronosGroup/SPIRV-Reflect', submodule=Submodule('subprojects/SPIRV-Reflect.wrap') ), +Lib('glslang', 'https://github.com/KhronosGroup/glslang', + bsd_3clause, 'https://raw.githubusercontent.com/KhronosGroup/glslang/main/LICENSE.txt', + ships_static=all_platforms, + submodule=Submodule('subprojects/glslang.wrap') + ), + # # Data files included with xemu # @@ -374,18 +380,6 @@ Lib('miniz', 'https://github.com/richgel999/miniz', ships_static={windows}, platform={windows}, version='2.1.0' ), - -Lib('glslang', 'https://github.com/KhronosGroup/glslang', - bsd_3clause, 'https://raw.githubusercontent.com/KhronosGroup/glslang/main/LICENSE.txt', - ships_static={windows}, platform={windows}, - version='14.3.0' - ), - -Lib('SPIRV-Tools', 'https://github.com/KhronosGroup/SPIRV-Tools', - apache2, 'https://raw.githubusercontent.com/KhronosGroup/SPIRV-Tools/main/LICENSE', - ships_static={windows}, platform={windows}, - pkgconfig=PkgConfig('SPIRV-Tools') - ), ] def gen_license():