mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-12-18 16:30:56 +00:00
aedi: update glslang to 15.1.0
This commit is contained in:
parent
4a4b70304d
commit
703b01e487
2 changed files with 14 additions and 2 deletions
|
@ -134,8 +134,9 @@ class GlslangTarget(base.CMakeStaticDependencyTarget):
|
||||||
|
|
||||||
def prepare_source(self, state: BuildState):
|
def prepare_source(self, state: BuildState):
|
||||||
state.download_source(
|
state.download_source(
|
||||||
'https://github.com/KhronosGroup/glslang/archive/refs/tags/15.0.0.tar.gz',
|
'https://github.com/KhronosGroup/glslang/archive/refs/tags/15.1.0.tar.gz',
|
||||||
'c31c8c2e89af907507c0631273989526ee7d5cdf7df95ececd628fd7b811e064')
|
'4bdcd8cdb330313f0d4deed7be527b0ac1c115ff272e492853a6e98add61b4bc',
|
||||||
|
patches='glslang-old-cmake')
|
||||||
|
|
||||||
def configure(self, state: BuildState):
|
def configure(self, state: BuildState):
|
||||||
args = ('python3', 'update_glslang_sources.py')
|
args = ('python3', 'update_glslang_sources.py')
|
||||||
|
|
11
patch/glslang-old-cmake.diff
Normal file
11
patch/glslang-old-cmake.diff
Normal 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")
|
Loading…
Reference in a new issue