Skip to content

Commit 09569b5

Browse files
adam-yangtex3d
authored andcommitted
Fixed version header potentially missing in some configs (#3574)
1 parent beef306 commit 09569b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/clang/tools/dxcompiler/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ target_link_libraries(dxcompiler PRIVATE ${LIBRARIES})
130130
if (ENABLE_SPIRV_CODEGEN)
131131
target_link_libraries(dxcompiler PRIVATE clangSPIRV)
132132
endif (ENABLE_SPIRV_CODEGEN)
133-
include_directories(AFTER ${LLVM_INCLUDE_DIR}/dxc/Tracing ${DIASDK_INCLUDE_DIRS})
133+
include_directories(AFTER ${LLVM_INCLUDE_DIR}/dxc/Tracing ${DIASDK_INCLUDE_DIRS} ${HLSL_VERSION_LOCATION})
134134

135135
set_target_properties(dxcompiler
136136
PROPERTIES

0 commit comments

Comments
 (0)