glslang/0001-Revert-CMake-Make-glslang-default-resource-limits-ST.patch

24 lines
1.0 KiB
Diff

From 949e46a187d4d97d6a63495ba76438523f021015 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Wed, 23 Aug 2023 00:16:04 +0200
Subject: [PATCH] Revert "CMake: Make glslang-default-resource-limits STATIC"
This reverts commit 6f22e41e0de13aff75807cca9662730d8b3e54b6.
---
glslang/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: glslang-sdk-1.3.261.0/glslang/CMakeLists.txt
===================================================================
--- glslang-sdk-1.3.261.0.orig/glslang/CMakeLists.txt
+++ glslang-sdk-1.3.261.0/glslang/CMakeLists.txt
@@ -195,7 +195,7 @@ set(RESOURCELIMITS_HEADERS
Public/resource_limits_c.h
)
-add_library(glslang-default-resource-limits STATIC ${RESOURCELIMITS_SOURCES} ${RESOURCELIMITS_HEADERS})
+add_library(glslang-default-resource-limits ${RESOURCELIMITS_SOURCES} ${RESOURCELIMITS_HEADERS})
set_target_properties(glslang-default-resource-limits PROPERTIES
VERSION "${GLSLANG_VERSION}"
SOVERSION "${GLSLANG_VERSION_MAJOR}"