Browse Source

Add TablegenHLSLOptions dependency to dxcompiler (#2175)

Fixes build break in parallel builds
Helena Kotas 6 years ago
parent
commit
ed44f7ff70
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tools/clang/tools/dxcompiler/CMakeLists.txt

+ 1 - 0
tools/clang/tools/dxcompiler/CMakeLists.txt

@@ -114,6 +114,7 @@ set(GENERATED_HEADERS
   )
 
 add_clang_library(dxcompiler SHARED ${SOURCES})
+add_dependencies(dxcompiler TablegenHLSLOptions) 
 if (WIN32)
   # No DxcEtw on non-Windows platforms.
   add_dependencies(dxcompiler DxcEtw)