[CMake] Install import libraries
commit2eaac0629cab8acc2b1cdc813b93ec00f18586ff
authorMartin Storsjo <martin@martin.st>
Wed, 8 May 2019 08:37:34 +0000 (8 08:37 +0000)
committerMartin Storsjo <martin@martin.st>
Wed, 8 May 2019 08:37:34 +0000 (8 08:37 +0000)
tree34bd95f060e749c2b79559a975d5f7866584e783
parentf9dd152ae63df5e3ac27e647f7409023ebc684d1
[CMake] Install import libraries

Simplify the cmake logic to install both runtime and import
libraries (treated as ARCHIVE), as the later are needed to link
against llvm.

Patch by Julien Schueller!

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360230 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/AddLLVM.cmake