Fix link failure on MinGW due to use of CoInitialize.
authorZachary Turner <zturner@google.com>
Wed, 6 May 2015 22:26:51 +0000 (22:26 +0000)
committerZachary Turner <zturner@google.com>
Wed, 6 May 2015 22:26:51 +0000 (22:26 +0000)
commitea89afbb84a9a066335ef2c20d6b4f2f8e6de579
tree4c38e3d8f540f7780d6bceafa3f8bdf5b06a2c82
parent43afa429082f1a90e2ca22d73456c2219ec8d774
Fix link failure on MinGW due to use of CoInitialize.

ole32 is considered a default library with MSVC, but apparently
not with MinGW.  Since we use CoInitialize, we need to explicitly
link against it in LLVMSupport for a MinGW build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236654 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/CMakeLists.txt