aboutsummaryrefslogtreecommitdiff
path: root/cmake/modules/AddLLDB.cmake
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2016-01-27 21:12:23 +0000
committerDimitry Andric <dim@FreeBSD.org>2016-01-27 21:12:23 +0000
commite195173fdf080138dbb42936dea88c605e4b9a56 (patch)
tree105e02bec7fae11d77997de77362f306975c9383 /cmake/modules/AddLLDB.cmake
parent3fb4ff8c1b2912f62d1dc33fb10d73599339802a (diff)
downloadsrc-e195173fdf080138dbb42936dea88c605e4b9a56.tar.gz
src-e195173fdf080138dbb42936dea88c605e4b9a56.zip
Vendor import of lldb release_38 branch r258968:vendor/lldb/lldb-release_38-r258968
Notes
Notes: svn path=/vendor/lldb/dist/; revision=294950 svn path=/vendor/lldb/lldb-release_38-r258968/; revision=294951; tag=vendor/lldb/lldb-release_38-r258968
Diffstat (limited to 'cmake/modules/AddLLDB.cmake')
-rw-r--r--cmake/modules/AddLLDB.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/modules/AddLLDB.cmake b/cmake/modules/AddLLDB.cmake
index 672b0a53feaf..75c522f6522e 100644
--- a/cmake/modules/AddLLDB.cmake
+++ b/cmake/modules/AddLLDB.cmake
@@ -56,7 +56,7 @@ macro(add_lldb_library name)
if (PARAM_OBJECT)
add_library(${name} ${libkind} ${srcs})
else()
- llvm_add_library(${name} ${libkind} ${srcs})
+ llvm_add_library(${name} ${libkind} DISABLE_LLVM_LINK_LLVM_DYLIB ${srcs})
lldb_link_common_libs(${name} "${libkind}")
@@ -93,7 +93,7 @@ macro(add_lldb_library name)
endmacro(add_lldb_library)
macro(add_lldb_executable name)
- add_llvm_executable(${name} ${ARGN})
+ add_llvm_executable(${name} DISABLE_LLVM_LINK_LLVM_DYLIB ${ARGN})
set_target_properties(${name} PROPERTIES FOLDER "lldb executables")
endmacro(add_lldb_executable)