Skip to content

Commit 58c4918

Browse files
committed
making dxcompiler static was a bad idea, we better create it shared and link it with delayed DLL loading approach
1 parent 6b2a1a7 commit 58c4918

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/clang/tools/dxcompiler/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ if (WIN32)
124124
find_package(DiaSDK REQUIRED) # Used for constants and declarations.
125125
endif (WIN32)
126126

127-
add_clang_library(dxcompiler ${SOURCES})
127+
add_clang_library(dxcompiler SHARED ${SOURCES})
128128
add_dependencies(dxcompiler TablegenHLSLOptions)
129129
if (WIN32)
130130
# No DxcEtw on non-Windows platforms.

0 commit comments

Comments
 (0)