File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,6 @@ function(add_lldb_library name)
4545 "INSTALL_PREFIX;ENTITLEMENTS"
4646 "EXTRA_CXXFLAGS;DEPENDS;LINK_LIBS;LINK_COMPONENTS;CLANG_LIBS"
4747 ${ARGN} )
48- llvm_process_sources(srcs ${PARAM_UNPARSED_ARGUMENTS} )
4948 list (APPEND LLVM_LINK_COMPONENTS ${PARAM_LINK_COMPONENTS} )
5049
5150 if (PARAM_NO_INTERNAL_DEPENDENCIES)
@@ -77,7 +76,6 @@ function(add_lldb_library name)
7776 list (GET split_path -1 dir)
7877 file (GLOB_RECURSE headers
7978 ../../include /lldb${dir} /*.h)
80- set (srcs ${srcs} ${headers} )
8179 endif ()
8280 if (PARAM_MODULE)
8381 set (libkind MODULE)
@@ -101,7 +99,8 @@ function(add_lldb_library name)
10199 set (pass_NO_INSTALL_RPATH NO_INSTALL_RPATH)
102100 endif ()
103101
104- llvm_add_library(${name} ${libkind} ${srcs}
102+ llvm_add_library(${name} ${libkind} ${headers}
103+ ${PARAM_UNPARSED_ARGUMENTS}
105104 LINK_LIBS ${PARAM_LINK_LIBS}
106105 DEPENDS ${PARAM_DEPENDS}
107106 ${pass_ENTITLEMENTS}
You can’t perform that action at this time.
0 commit comments