[cmake] Emit an error for -DBUILD_SHARED_LIBS=ON on Windows
authorTom Stellard <tstellar@redhat.com>
Thu, 14 Nov 2019 17:18:44 +0000 (09:18 -0800)
committerTom Stellard <tstellar@redhat.com>
Thu, 14 Nov 2019 18:19:02 +0000 (10:19 -0800)
commitcfca818ef7b8a3659c41d741c90b38c69478598a
tree44c4a9df6eeadf593588251b20a2e02f324c60fa
parentd2b6cc7ff6d8dd56358d63da8738f529ae312a65
[cmake] Emit an error for -DBUILD_SHARED_LIBS=ON on Windows

Summary:
The BUILD_SHARED_LIBS=ON build fails on Windows, so prevent users from
enabling it.

Reviewers: beanz, smeenai, compnerd, phosek

Reviewed By: beanz

Subscribers: mgorny, llvm-commits

Tags: #llvm

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