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