cmake/dxc: only include third_party/dxheaders on non-Windows

The DirectXHeaders repo is used by DXC for Linux/MacOS builds, and is
pinned at a very specific commit. For Windows, we need to use the
official platform SDK, which is picked up when this variable is not
already set.

Change-Id: Ide7220240991480b3c540c1cf7774fb684eac5a5
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/171520
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
diff --git a/third_party/CMakeLists.txt b/third_party/CMakeLists.txt
index 6e3cdc4..e042516 100644
--- a/third_party/CMakeLists.txt
+++ b/third_party/CMakeLists.txt
@@ -178,7 +178,9 @@
     set(CLANG_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)
     set(CLANG_INCLUDE_TESTS OFF CACHE BOOL "" FORCE)
 
-    set(DIRECTX_HEADER_INCLUDE_DIR "${PROJECT_SOURCE_DIR}/third_party/dxheaders/include")
+    if (NOT WIN32)
+        set(DIRECTX_HEADER_INCLUDE_DIR "${DAWN_THIRD_PARTY_DIR}/dxheaders/include")
+    endif()
 
     # Disable HCT.cmake looking for and using clang-format. This is used to compare generated files
     # against the copy that is committed to the repo, but fails because the DXC .clangformat file is