1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-22 12:46:19 +00:00
Lakka-LibreELEC/packages/graphics/vulkan/glslang/patches/glslang-100.01-build-static-spirv-tools.patch
Rudi Heitbaum d2c45ccad7 glslang: update to 14.1.0
Release notes: https://github.com/KhronosGroup/glslang/releases

Supported by:
- spirv-tools: 04896c462d9f3f504c99a4698605b6524af813c1
- spirv-headers: 8b246ff75c6615ba4532fe4fde20f1be090c3764
2024-03-29 04:43:25 +02:00

14 lines
475 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()