[PATCH] D39029: [CMake] Passthrough CMAKE_SYSROOT to external projects
Petr Hosek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 17 18:04:04 PDT 2017
phosek created this revision.
Herald added a subscriber: mgorny.
Repository:
rL LLVM
https://reviews.llvm.org/D39029
Files:
cmake/modules/LLVMExternalProjectUtils.cmake
Index: cmake/modules/LLVMExternalProjectUtils.cmake
===================================================================
--- cmake/modules/LLVMExternalProjectUtils.cmake
+++ cmake/modules/LLVMExternalProjectUtils.cmake
@@ -143,6 +143,7 @@
CMAKE_ARGS ${${nameCanon}_CMAKE_ARGS}
${compiler_args}
-DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX}
+ -DCMAKE_SYSROOT=${CMAKE_SYSROOT}
-DLLVM_BINARY_DIR=${PROJECT_BINARY_DIR}
-DLLVM_CONFIG_PATH=$<TARGET_FILE:llvm-config>
-DLLVM_ENABLE_WERROR=${LLVM_ENABLE_WERROR}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39029.119412.patch
Type: text/x-patch
Size: 603 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171018/d33f254b/attachment.bin>
More information about the llvm-commits
mailing list