aedi: update glslang to 15.1.0

This commit is contained in:
alexey.lysiuk 2024-12-16 17:28:00 +02:00
parent 4a4b70304d
commit 703b01e487
2 changed files with 14 additions and 2 deletions

View file

@ -134,8 +134,9 @@ class GlslangTarget(base.CMakeStaticDependencyTarget):
def prepare_source(self, state: BuildState):
state.download_source(
'https://github.com/KhronosGroup/glslang/archive/refs/tags/15.0.0.tar.gz',
'c31c8c2e89af907507c0631273989526ee7d5cdf7df95ececd628fd7b811e064')
'https://github.com/KhronosGroup/glslang/archive/refs/tags/15.1.0.tar.gz',
'4bdcd8cdb330313f0d4deed7be527b0ac1c115ff272e492853a6e98add61b4bc',
patches='glslang-old-cmake')
def configure(self, state: BuildState):
args = ('python3', 'update_glslang_sources.py')

View file

@ -0,0 +1,11 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -30,7 +30,7 @@
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
-cmake_minimum_required(VERSION 3.27)
+cmake_minimum_required(VERSION 3.17)
project(glslang)
if (CMAKE_VERSION VERSION_LESS "3.21")