26 lines
1.0 KiB
Diff
26 lines
1.0 KiB
Diff
https://github.com/google/shaderc/pull/463
|
|
--- a/glslc/CMakeLists.txt
|
|
+++ b/glslc/CMakeLists.txt
|
|
@@ -43,7 +43,7 @@ if (SHADERC_ENABLE_WGSL_OUTPUT)
|
|
endif(SHADERC_ENABLE_WGSL_OUTPUT)
|
|
|
|
target_link_libraries(glslc PRIVATE
|
|
- glslang OSDependent OGLCompiler HLSL glslang SPIRV # Glslang libraries
|
|
+ glslang OSDependent OGLCompiler glslang SPIRV HLSL # Glslang libraries
|
|
$<$<BOOL:${SHADERC_ENABLE_WGSL_OUTPUT}>:libtint> # Tint libraries, optional
|
|
shaderc_util shaderc # internal Shaderc libraries
|
|
${CMAKE_THREAD_LIBS_INIT})
|
|
--- a/libshaderc_util/CMakeLists.txt
|
|
+++ b/libshaderc_util/CMakeLists.txt
|
|
@@ -46,8 +46,8 @@ add_definitions(-DENABLE_HLSL)
|
|
|
|
find_package(Threads)
|
|
target_link_libraries(shaderc_util PRIVATE
|
|
- glslang OSDependent OGLCompiler HLSL glslang SPIRV
|
|
- SPIRV-Tools-opt ${CMAKE_THREAD_LIBS_INIT})
|
|
+ glslang OSDependent OGLCompiler glslang HLSL SPIRV
|
|
+ SPIRV-Tools-opt SPIRV-Tools ${CMAKE_THREAD_LIBS_INIT})
|
|
|
|
shaderc_add_tests(
|
|
TEST_PREFIX shaderc_util
|