summaryrefslogtreecommitdiffstats
path: root/llvm/cmake/modules
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-12-29 11:16:19 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-12-29 11:16:19 +0000
commita78e24e548b46d3effd50efe9c43d4b7a2627cb9 (patch)
treea4b2619436c7d411de99e362abf391759ad1cfcb /llvm/cmake/modules
parent04b78412ad0aa74876341a96ba6178175d537ab3 (diff)
downloadbcm5719-llvm-a78e24e548b46d3effd50efe9c43d4b7a2627cb9.tar.gz
bcm5719-llvm-a78e24e548b46d3effd50efe9c43d4b7a2627cb9.zip
[cmake] Start making LLVM_LIBDIR_SUFFIX effective by adding it to
*numerous* places where it was missing in the CMake build. The primary change here is that the suffix is now actually used for all of the lib directories in the LLVM project's CMake. The various subprojects still need similar treatment. This is the first of a series of commits to try to make LLVM's cmake effective in a multilib Linux installation. I don't think many people are seriously using this variable so I'm hoping the fallout will be minimal. A somewhat unfortunate consequence of the nature of these commits is that until I land all of them, they will in part make the brokenness of our multilib support more apparant. At the end, things should actually work. llvm-svn: 224919
Diffstat (limited to 'llvm/cmake/modules')
-rw-r--r--llvm/cmake/modules/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/cmake/modules/CMakeLists.txt b/llvm/cmake/modules/CMakeLists.txt
index c87193d2e2c..5f3f255628d 100644
--- a/llvm/cmake/modules/CMakeLists.txt
+++ b/llvm/cmake/modules/CMakeLists.txt
@@ -58,7 +58,7 @@ foreach(p ${_count})
get_filename_component(LLVM_INSTALL_PREFIX \"\${LLVM_INSTALL_PREFIX}\" PATH)")
endforeach(p)
set(LLVM_CONFIG_INCLUDE_DIRS "\${LLVM_INSTALL_PREFIX}/include")
-set(LLVM_CONFIG_LIBRARY_DIRS "\${LLVM_INSTALL_PREFIX}/lib")
+set(LLVM_CONFIG_LIBRARY_DIRS "\${LLVM_INSTALL_PREFIX}/lib\${LLVM_LIBDIR_SUFFIX}")
set(LLVM_CONFIG_CMAKE_DIR "\${LLVM_INSTALL_PREFIX}/${LLVM_INSTALL_PACKAGE_DIR}")
set(LLVM_CONFIG_TOOLS_BINARY_DIR "\${LLVM_INSTALL_PREFIX}/bin")
set(LLVM_CONFIG_EXPORTS_FILE "\${LLVM_CMAKE_DIR}/LLVMExports.cmake")
OpenPOWER on IntegriCloud