commit | 83782f2571d25ec035a353acce17c8b86c5cb4ad | [log] [tgz] |
---|---|---|
author | NAKAMURA Takumi <geek4civic@gmail.com> | Fri Feb 21 14:16:52 2014 +0000 |
committer | NAKAMURA Takumi <geek4civic@gmail.com> | Fri Feb 21 14:16:52 2014 +0000 |
tree | b92ea4620d84cf1773767facdba3543872ba0ba4 | |
parent | 10ecde5c3442cd24c8f13bd29c20a2c48be1bad8 [diff] |
Teach LLVM-Config to use logical target names (1/2) LLVM library names are now available as logical CMake targets both to our own build and to application CMake code. Replace use of 'list(FIND)' with a simple 'if(TARGET)' to determine whether a library is available. Contributed by Brad King. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201852 91177308-0d34-0410-b5e6-96231b3b80d8