[CMake] Let llvm_add_library(MODULE) check capability of loadable module.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 13 Feb 2014 11:25:17 +0000 (11:25 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 13 Feb 2014 11:25:17 +0000 (11:25 +0000)
commit487f387b19dce3e3683e35089df92ef5c22589e4
tree174622241eabf4936093a1b9967ed62461aacf67
parent8e57597830f2bb3686a2b2c2d90f19de1bc379c8
[CMake] Let llvm_add_library(MODULE) check capability of loadable module.

On unsupported platforms, llvm_add_library(MODULE) doesn't create any targets.
Caller may be responsible to check and add extra target properties.

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