]> granicus.if.org Git - clang/commit
Fix BUILD_SHARED_LIBS for clang which broke in D61909
authorChris Bieneman <chris.bieneman@me.com>
Tue, 21 May 2019 15:56:17 +0000 (15:56 +0000)
committerChris Bieneman <chris.bieneman@me.com>
Tue, 21 May 2019 15:56:17 +0000 (15:56 +0000)
commit153460e92a503344b5f2232e4aa5c15554d9ab62
tree8ac4cbe88e4dfbc48e80e866a39f870622d17bb5
parent1353fe814c52fd2eb0324cea1099ed79703896ff
Fix BUILD_SHARED_LIBS for clang which broke in D61909

llvm_add_library ignores `BUILD_SHARED_LIBS` `STATIC` is explicitly specified. This restores the `BUILD_SHARED_LIBS` behavior to the clang build.

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