[CMake] Support statically linked libc++abi and libunwind
authorPetr Hosek <phosek@chromium.org>
Wed, 4 Apr 2018 16:27:33 +0000 (16:27 +0000)
committerPetr Hosek <phosek@chromium.org>
Wed, 4 Apr 2018 16:27:33 +0000 (16:27 +0000)
commitfb6a4a7907fa6001949795d066ebc21e2486d9cb
tree980cbd80579e453a054ecbd1538d59ed240d6c33
parent9336ab6996bdf9c0d235c4a81901413104c184f4
[CMake] Support statically linked libc++abi and libunwind

This expands the CMake check to handle both statically and dynamically
linked version of libc++abi and libunwind and matches the implemnetation
used elsewhere in LLVM.

Differential Revision: https://reviews.llvm.org/D45242

llvm-svn: 329205
compiler-rt/CMakeLists.txt