summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2011-04-13 15:25:31 +0000
committerOscar Fuentes <ofv@wanadoo.es>2011-04-13 15:25:31 +0000
commitc2475e8ece4adb396ab228c64df995d6def1b7f5 (patch)
treeb6438a045f83ebe960350a263e0fbf9a461122d0 /cmake
parentd30aa5a1edac5256573e8d76dd155df3d3fdec84 (diff)
downloadllvm-c2475e8ece4adb396ab228c64df995d6def1b7f5.tar.gz
llvm-c2475e8ece4adb396ab228c64df995d6def1b7f5.tar.bz2
llvm-c2475e8ece4adb396ab228c64df995d6def1b7f5.tar.xz
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
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/LLVMConfig.cmake.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/modules/LLVMConfig.cmake.in b/cmake/modules/LLVMConfig.cmake.in
index d18b9b0569..5a048b714b 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@)