[PATCH] D39029: [CMake] Passthrough CMAKE_SYSROOT to external projects
Petr Hosek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 8 16:21:41 PST 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL317744: [CMake] Passthrough CMAKE_SYSROOT to external projects (authored by phosek).
Changed prior to commit:
https://reviews.llvm.org/D39029?vs=119412&id=122178#toc
Repository:
rL LLVM
https://reviews.llvm.org/D39029
Files:
llvm/trunk/cmake/modules/LLVMExternalProjectUtils.cmake
Index: llvm/trunk/cmake/modules/LLVMExternalProjectUtils.cmake
===================================================================
--- llvm/trunk/cmake/modules/LLVMExternalProjectUtils.cmake
+++ llvm/trunk/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.122178.patch
Type: text/x-patch
Size: 636 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171109/80431aa9/attachment.bin>
More information about the llvm-commits
mailing list