Commit 6464910
committed
[cmake] Add LLVM_TARGET_TRIPLE_ENV to LLVMConfig.cmake.in
LLVM has a mechanism to switch the default target: LLVM_TARGET_TRIPLE_ENV.
For example, regression tests with lit use this CMake variable.
It matters only when building LLVM, not the other projects.
Therefore, if they are built standalone, the value of the CMake variable should be propagated.
In fact, however, it is not.
This patch fixes it.1 parent 0c3cf20 commit 6464910
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| |||
0 commit comments