aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-01-29 20:59:10 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-01-29 20:59:10 +0000
commitb025d011dd270230aeb50d7174a2a05616fe81eb (patch)
tree71544f8945a1266763fc1dfac6ac6b17433cfb39 /CMakeLists.txt
parentabe21bdf8e3c7be93c9236c3eec47756e14582bb (diff)
downloadsrc-b025d011dd270230aeb50d7174a2a05616fe81eb.tar.gz
src-b025d011dd270230aeb50d7174a2a05616fe81eb.zip
Vendor import of lld release_40 branch r293443:vendor/lld/lld-release_40-r293443
Notes
Notes: svn path=/vendor/lld/dist/; revision=312964 svn path=/vendor/lld/lld-release_40-r293443/; revision=312965; tag=vendor/lld/lld-release_40-r293443
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 48ac5e038cdb..be424efbbd87 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -42,6 +42,7 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
include_directories("${LLVM_BINARY_DIR}/include" ${LLVM_INCLUDE_DIRS})
link_directories(${LLVM_LIBRARY_DIRS})
+ set(LLVM_LIBRARY_OUTPUT_INTDIR ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib${LLVM_LIBDIR_SUFFIX})
set(LLVM_RUNTIME_OUTPUT_INTDIR ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/bin)
find_program(LLVM_TABLEGEN_EXE "llvm-tblgen" ${LLVM_TOOLS_BINARY_DIR} NO_DEFAULT_PATH)