[PATCH] D121033: [cmake] Pass /winsysroot explicitly

Shoaib Meenai via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 4 17:14:08 PST 2022


smeenai updated this revision to Diff 413172.
smeenai added a comment.

Alphabetize the flags


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D121033/new/

https://reviews.llvm.org/D121033

Files:
  llvm/cmake/platforms/WinMsvc.cmake


Index: llvm/cmake/platforms/WinMsvc.cmake
===================================================================
--- llvm/cmake/platforms/WinMsvc.cmake
+++ llvm/cmake/platforms/WinMsvc.cmake
@@ -265,7 +265,8 @@
     --target=${TRIPLE_ARCH}-windows-msvc
     -fms-compatibility-version=19.20
     -vctoolsversion ${MSVC_VER}
-    -winsdkversion ${WINSDK_VER})
+    -winsdkversion ${WINSDK_VER}
+    -winsysroot ${LLVM_WINSYSROOT})
 
 if(case_sensitive_filesystem)
   # Ensure all sub-configures use the top-level VFS overlay instead of generating their own.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121033.413172.patch
Type: text/x-patch
Size: 554 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220305/9c0ae8a7/attachment.bin>


More information about the llvm-commits mailing list