[cmake] Push LLVM_LIBDIR_SUFFIX through to the LLVMConfig.cmake file
authorChandler Carruth <chandlerc@gmail.com>
Mon, 29 Dec 2014 11:16:23 +0000 (11:16 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 29 Dec 2014 11:16:23 +0000 (11:16 +0000)
that is used by other projects to build against LLVM. This will allow
subsequent patches to them to use LLVM_LIBDIR_SUFFIX, both when built as
part of the larger LLVM build an as part of a standalone build against
an installed set of LLVM libraries.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224920 91177308-0d34-0410-b5e6-96231b3b80d8

cmake/modules/LLVMConfig.cmake.in

index 780a60879c8ebb302c05ee399c344e7db2214a48..9a9cd8544278d138f1746ea2b558d29c53ace94d 100644 (file)
@@ -40,6 +40,8 @@ set(LLVM_ENABLE_PIC @LLVM_ENABLE_PIC@)
 set(LLVM_ON_UNIX @LLVM_ON_UNIX@)
 set(LLVM_ON_WIN32 @LLVM_ON_WIN32@)
 
+set(LLVM_LIBDIR_SUFFIX @LLVM_LIBDIR_SUFFIX@)
+
 set(LLVM_INCLUDE_DIRS "@LLVM_CONFIG_INCLUDE_DIRS@")
 set(LLVM_LIBRARY_DIRS "@LLVM_CONFIG_LIBRARY_DIRS@")
 set(LLVM_DEFINITIONS "-D__STDC_LIMIT_MACROS" "-D__STDC_CONSTANT_MACROS")