1 set(LLVM_LINK_COMPONENTS
20 # MSVC9 and 8 cannot compile ValueMapTest.cpp due to their bug.
21 # See issue#331418 in Visual Studio.
22 if(MSVC AND MSVC_VERSION LESS 1600)
23 list(REMOVE_ITEM VMCoreSources ValueMapTest.cpp)
26 # HACK: Declare a couple of source files as optionally compiled to satisfy the
27 # missing-file-checker in LLVM's weird CMake build.
28 set(LLVM_OPTIONAL_SOURCES
32 add_llvm_unittest(VMCoreTests