diff options
author | Oscar Fuentes <ofv@wanadoo.es> | 2011-04-13 15:25:31 +0000 |
---|---|---|
committer | Oscar Fuentes <ofv@wanadoo.es> | 2011-04-13 15:25:31 +0000 |
commit | c2475e8ece4adb396ab228c64df995d6def1b7f5 (patch) | |
tree | b6438a045f83ebe960350a263e0fbf9a461122d0 | |
parent | d30aa5a1edac5256573e8d76dd155df3d3fdec84 (diff) | |
download | external_llvm-c2475e8ece4adb396ab228c64df995d6def1b7f5.zip external_llvm-c2475e8ece4adb396ab228c64df995d6def1b7f5.tar.gz external_llvm-c2475e8ece4adb396ab228c64df995d6def1b7f5.tar.bz2 |
Export LLVM_TARGETS_WITH_JIT in LLVMConfig.cmake.in. Without this,
component names such as "engine" do not expand to "jit" and hence to
the native target libraries for external users.
Thanks to arrowdodger for reporting and diagnosing the problem.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129444 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | cmake/modules/LLVMConfig.cmake.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/modules/LLVMConfig.cmake.in b/cmake/modules/LLVMConfig.cmake.in index d18b9b0..5a048b7 100644 --- a/cmake/modules/LLVMConfig.cmake.in +++ b/cmake/modules/LLVMConfig.cmake.in @@ -10,6 +10,8 @@ set(LLVM_ALL_TARGETS @LLVM_ALL_TARGETS@) set(LLVM_TARGETS_TO_BUILD @LLVM_TARGETS_TO_BUILD@) +set(LLVM_TARGETS_WITH_JIT @LLVM_TARGETS_WITH_JIT@) + set(TARGET_TRIPLE "@TARGET_TRIPLE@") set(LLVM_TOOLS_BINARY_DIR @LLVM_TOOLS_BINARY_DIR@) |