summaryrefslogtreecommitdiff
path: root/cmake/modules/AddLLVM.cmake
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-07-29 23:52:01 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-07-29 23:52:01 +0000
commit2e1513d9cd7750db05048fb2af0c8cac0307fc5a (patch)
treef2c36cb8567a8fce0852937e2b09d6e7fe3cd808 /cmake/modules/AddLLVM.cmake
parenteeb57c7701ded683d660ed616966cfe7b1750337 (diff)
downloadllvm-2e1513d9cd7750db05048fb2af0c8cac0307fc5a.tar.gz
llvm-2e1513d9cd7750db05048fb2af0c8cac0307fc5a.tar.bz2
llvm-2e1513d9cd7750db05048fb2af0c8cac0307fc5a.tar.xz
Make my attempt to build up global deps variables actually utilize
globally scoped constructs. Also, round-trip these dependencies through the LLVMConfig.cmake.in file thata is used by CMake-based clients of "installed" (or built) LLVM trees. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136543 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/modules/AddLLVM.cmake')
-rwxr-xr-xcmake/modules/AddLLVM.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake
index cf9ea72107..1ede0f0a2b 100755
--- a/cmake/modules/AddLLVM.cmake
+++ b/cmake/modules/AddLLVM.cmake
@@ -37,7 +37,7 @@ endmacro(add_llvm_library name)
macro(add_llvm_library_dependencies name)
# Save the dependencies of the LLVM library in a variable so that we can
# query it when resolve llvm-config-style component -> library mappings.
- set(LLVM_LIB_DEPS_${name} ${ARGN})
+ set_property(GLOBAL PROPERTY LLVM_LIB_DEPS_${name} ${ARGN})
# Then add the actual dependencies to the library target.
target_link_libraries(${name} ${ARGN})