[PATCH] D36119: [CMake][LLVM] Remove duplicated library mask. Broken clang linking against clangShared
Phabricator via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 10 06:38:48 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL310590: [CMake][LLVM] Remove duplicated library mask. Broken clang linking against… (authored by oleg).
Changed prior to commit:
https://reviews.llvm.org/D36119?vs=109164&id=110571#toc
Repository:
rL LLVM
https://reviews.llvm.org/D36119
Files:
llvm/trunk/cmake/modules/LLVM-Config.cmake
Index: llvm/trunk/cmake/modules/LLVM-Config.cmake
===================================================================
--- llvm/trunk/cmake/modules/LLVM-Config.cmake
+++ llvm/trunk/cmake/modules/LLVM-Config.cmake
@@ -175,18 +175,15 @@
message(FATAL_ERROR "Target ${c} is not in the set of libraries.")
endif()
endif()
- if( TARGET LLVM${c}AsmPrinter )
- list(APPEND expanded_components "LLVM${c}AsmPrinter")
- endif()
if( TARGET LLVM${c}AsmParser )
list(APPEND expanded_components "LLVM${c}AsmParser")
endif()
+ if( TARGET LLVM${c}AsmPrinter )
+ list(APPEND expanded_components "LLVM${c}AsmPrinter")
+ endif()
if( TARGET LLVM${c}Desc )
list(APPEND expanded_components "LLVM${c}Desc")
endif()
- if( TARGET LLVM${c}Info )
- list(APPEND expanded_components "LLVM${c}Info")
- endif()
if( TARGET LLVM${c}Disassembler )
list(APPEND expanded_components "LLVM${c}Disassembler")
endif()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36119.110571.patch
Type: text/x-patch
Size: 1024 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170810/d38cb168/attachment.bin>
More information about the llvm-commits
mailing list