diff --git a/tools/clang/tools/dxildll/CMakeLists.txt b/tools/clang/tools/dxildll/CMakeLists.txt index 67a24d1107..ff6ce4cb76 100644 --- a/tools/clang/tools/dxildll/CMakeLists.txt +++ b/tools/clang/tools/dxildll/CMakeLists.txt @@ -58,7 +58,7 @@ target_link_libraries(dxildll PRIVATE dxcvalidator ) -if (WIN32) +if (WIN32 AND HLSL_BUILD_DXILCONV) add_dependencies(dxildll ${DXCDependencies} DxcEtw