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