build: repair Windows build

`-ivfsoverlay` is no longer passed through to the driver with
`clang-cl`.  Explicitly mark it as a clang option to ensure that the
option is handled properly.  This repairs the build on Windows.
This commit is contained in:
Saleem Abdulrasool
2018-04-23 11:20:48 -07:00
parent a912a12805
commit decb484fac

View File

@@ -71,7 +71,7 @@ function(swift_windows_generate_sdk_vfs_overlay flags)
@ONLY)
set(${flags}
-ivfsoverlay;"${CMAKE_BINARY_DIR}/windows-sdk-vfs-overlay.yaml"
-Xclang;-ivfsoverlay;-Xclang;"${CMAKE_BINARY_DIR}/windows-sdk-vfs-overlay.yaml"
PARENT_SCOPE)
endfunction()