[CMake] Install import libraries
authorMartin Storsjo <martin@martin.st>
Wed, 8 May 2019 08:37:34 +0000 (08:37 +0000)
committerMartin Storsjo <martin@martin.st>
Wed, 8 May 2019 08:37:34 +0000 (08:37 +0000)
commite96c98f37d3d481ad2f1a96a8ddadd1c8614056f
treee99ff40a67752f758bb63bb284f434ca4c9cfbfd
parent5f7c86147d33a7fffeb1de34b6b0a10dbfe09fce
[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

llvm-svn: 360230
llvm/cmake/modules/AddLLVM.cmake