diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2019-01-19 10:01:25 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2019-01-19 10:01:25 +0000 |
commit | d8e91e46262bc44006913e6796843909f1ac7bcd (patch) | |
tree | 7d0c143d9b38190e0fa0180805389da22cd834c5 /cmake/modules/LLVM-Config.cmake | |
parent | b7eb8e35e481a74962664b63dfb09483b200209a (diff) | |
download | src-d8e91e46262bc44006913e6796843909f1ac7bcd.tar.gz src-d8e91e46262bc44006913e6796843909f1ac7bcd.zip |
Notes
Diffstat (limited to 'cmake/modules/LLVM-Config.cmake')
-rwxr-xr-x | cmake/modules/LLVM-Config.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmake/modules/LLVM-Config.cmake b/cmake/modules/LLVM-Config.cmake index 8eabddc73775..474a874a4426 100755 --- a/cmake/modules/LLVM-Config.cmake +++ b/cmake/modules/LLVM-Config.cmake @@ -302,7 +302,9 @@ function(llvm_expand_dependencies out_libs) expand_topologically(${lib} "${required_libs}" "${visited_libs}") endforeach() - list(REVERSE required_libs) + if(required_libs) + list(REVERSE required_libs) + endif() set(${out_libs} ${required_libs} PARENT_SCOPE) endfunction() |