Another fix for r329293: Unbreak the windows bots
authorPhilip Pfaffe <philip.pfaffe@gmail.com>
Thu, 5 Apr 2018 17:20:45 +0000 (17:20 +0000)
committerPhilip Pfaffe <philip.pfaffe@gmail.com>
Thu, 5 Apr 2018 17:20:45 +0000 (17:20 +0000)
commit802ee317e6b8f705c4352a983fa78b64f9075f64
tree448903d9016d0d3a7f58696719523b58b840388a
parent4e150c4c88388a80805be1a83c5d314c620849b8
Another fix for r329293: Unbreak the windows bots

Only build the unittest if plugins are enabled. Link components into the
TestPlugin on windows and cygwin.

llvm-svn: 329318
llvm/unittests/Passes/CMakeLists.txt