[cmake] Prevent building with BUILD_SHARED_LIBS and LLVM_LINK_LLVM_DYLIB
authorTom Stellard <tstellar@redhat.com>
Thu, 14 Nov 2019 04:29:19 +0000 (20:29 -0800)
committerTom Stellard <tstellar@redhat.com>
Thu, 14 Nov 2019 05:29:31 +0000 (21:29 -0800)
commit5d035c5d8fe6f8a20ba8d1b749f0f91100ae347a
tree6ebd5a2cfcf97ed8875dcf5548099361931fc5f9
parent91c5928c3623bb4eaaf6fc9ea031866cb87fe19e
[cmake] Prevent building with BUILD_SHARED_LIBS and LLVM_LINK_LLVM_DYLIB

Summary: This doesn't work, so error early if someone tries it.

Reviewers: beanz, smeenai, compnerd, phosek

Reviewed By: beanz

Subscribers: mgorny, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D70160
llvm/CMakeLists.txt