0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-01-19 14:12:08 +00:00
Lakka-LibreELEC/packages/graphics/vulkan/glslang/patches/glslang-100.01-build-static-spirv-tools.patch
Rudi Heitbaum ca733df9f8 glslang: update to 14.0.0
Release notes: https://github.com/KhronosGroup/glslang/releases

Supported by:
- spirv-tools: f0cc85efdbbe3a46eae90e0f915dc1509836d0fc
- spirv-headers: 1c6bb2743599e6eb6f37b2969acc0aef812e32e3

Ref on cmake build options:
- d6e9d3bb4e
- 3b99124593
2024-02-04 06:34:17 +00:00

13 lines
474 B
Diff

--- a/External/CMakeLists.txt
+++ b/External/CMakeLists.txt
@@ -71,7 +71,8 @@ endif()
if(ENABLE_OPT AND NOT TARGET SPIRV-Tools-opt)
if(IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/spirv-tools)
set(SPIRV_SKIP_TESTS ON CACHE BOOL "Skip building SPIRV-Tools tests")
- add_subdirectory(spirv-tools)
+ set(BUILD_SHARED_LIBS OFF CACHE BOOL "Disable build shared libs" FORCE)
+ add_subdirectory(spirv-tools EXCLUDE_FROM_ALL)
endif()
endif()