aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/modules/CMakeLists.txt
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2011-02-18 22:06:14 +0000
committerOscar Fuentes <ofv@wanadoo.es>2011-02-18 22:06:14 +0000
commit6d857ca4d71548f5cdb57b106cc1a12fc2c93e9d (patch)
treeb9cee0ab1c312b750d15cdcaf557671ba8949ccc /cmake/modules/CMakeLists.txt
parentba05c01dabc40373760a20c874103fc58d4377f0 (diff)
downloadexternal_llvm-6d857ca4d71548f5cdb57b106cc1a12fc2c93e9d.zip
external_llvm-6d857ca4d71548f5cdb57b106cc1a12fc2c93e9d.tar.gz
external_llvm-6d857ca4d71548f5cdb57b106cc1a12fc2c93e9d.tar.bz2
Move library stuff out of the toplevel CMakeLists.txt file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125968 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/modules/CMakeLists.txt')
-rw-r--r--cmake/modules/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/modules/CMakeLists.txt b/cmake/modules/CMakeLists.txt
index 9365743..9a5566e 100644
--- a/cmake/modules/CMakeLists.txt
+++ b/cmake/modules/CMakeLists.txt
@@ -1,5 +1,8 @@
set(llvm_cmake_builddir "${LLVM_BINARY_DIR}/share/llvm/cmake")
+get_property(llvm_libs GLOBAL PROPERTY LLVM_LIBS)
+get_property(llvm_lib_targets GLOBAL PROPERTY LLVM_LIB_TARGETS)
+
configure_file(
LLVM.cmake
${llvm_cmake_builddir}/LLVM.cmake