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