Skip to content

Commit 521a2f1

Browse files
committed
copy_shader_compiler_dlls only on windows
1 parent 7c41d2d commit 521a2f1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Tests/DiligentCoreTest/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@ if(WEBGPU_SUPPORTED)
6464
target_link_libraries(DiligentCoreTest PRIVATE libtint)
6565
endif()
6666

67-
copy_shader_compiler_dlls(DiligentCoreTest DXCOMPILER_FOR_SPIRV YES)
67+
if (PLATFORM_WIN32)
68+
copy_shader_compiler_dlls(DiligentCoreTest DXCOMPILER_FOR_SPIRV YES)
69+
endif()
6870

6971
source_group(TREE ${CMAKE_CURRENT_SOURCE_DIR} FILES ${SOURCE} ${SHADERS}})
7072

0 commit comments

Comments
 (0)