40 lines
1.6 KiB
Diff
40 lines
1.6 KiB
Diff
Index: shaderc-2020.3/libshaderc_util/CMakeLists.txt
|
|
===================================================================
|
|
--- shaderc-2020.3/libshaderc_util/CMakeLists.txt
|
|
+++ shaderc-2020.3/libshaderc_util/CMakeLists.txt 2020-10-16 23:28:53.405312623 +0200
|
|
@@ -46,7 +46,7 @@
|
|
|
|
find_package(Threads)
|
|
target_link_libraries(shaderc_util PRIVATE
|
|
- glslang OSDependent OGLCompiler HLSL glslang SPIRV
|
|
+ glslang HLSL SPIRV
|
|
SPIRV-Tools-opt ${CMAKE_THREAD_LIBS_INIT})
|
|
|
|
shaderc_add_tests(
|
|
Index: shaderc-2020.3/libshaderc/CMakeLists.txt
|
|
===================================================================
|
|
--- shaderc-2020.3/libshaderc/CMakeLists.txt
|
|
+++ shaderc-2020.3/libshaderc/CMakeLists.txt 2020-10-16 23:29:11.120117663 +0200
|
|
@@ -62,7 +62,7 @@
|
|
|
|
find_package(Threads)
|
|
set(SHADERC_LIBS
|
|
- glslang OSDependent OGLCompiler glslang ${CMAKE_THREAD_LIBS_INIT}
|
|
+ glslang ${CMAKE_THREAD_LIBS_INIT}
|
|
shaderc_util
|
|
SPIRV # from glslang
|
|
SPIRV-Tools
|
|
Index: shaderc-2020.3/glslc/CMakeLists.txt
|
|
===================================================================
|
|
--- shaderc-2020.3/glslc/CMakeLists.txt
|
|
+++ shaderc-2020.3/glslc/CMakeLists.txt 2020-10-16 23:28:53.405312623 +0200
|
|
@@ -43,7 +43,7 @@
|
|
endif(SHADERC_ENABLE_WGSL_OUTPUT)
|
|
|
|
target_link_libraries(glslc PRIVATE
|
|
- glslang OSDependent OGLCompiler HLSL glslang SPIRV # Glslang libraries
|
|
+ glslang HLSL SPIRV # Glslang libraries
|
|
$<$<BOOL:${SHADERC_ENABLE_WGSL_OUTPUT}>:libtint> # Tint libraries, optional
|
|
shaderc_util shaderc # internal Shaderc libraries
|
|
${CMAKE_THREAD_LIBS_INIT})
|