diff options
| author | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-06-21 22:17:39 +0000 |
|---|---|---|
| committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-06-21 22:17:39 +0000 |
| commit | e14e13d971ff948d109f4848067764b10d5c7a1a (patch) | |
| tree | ce2688d6442a2da77544d19f4e4b10f87101633f /llvm/unittests | |
| parent | 923074016b351405fd86dffdb66bed2646b4ba1f (diff) | |
| download | bcm5719-llvm-e14e13d971ff948d109f4848067764b10d5c7a1a.tar.gz bcm5719-llvm-e14e13d971ff948d109f4848067764b10d5c7a1a.zip | |
llvm/unittests/VMCore/CMakeLists.txt: Introduce LLVM_OPTIONAL_SOURCES here, too.
llvm-svn: 158941
Diffstat (limited to 'llvm/unittests')
| -rw-r--r-- | llvm/unittests/VMCore/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/unittests/VMCore/CMakeLists.txt b/llvm/unittests/VMCore/CMakeLists.txt index 04eabf0b9ee..c7392a93ea2 100644 --- a/llvm/unittests/VMCore/CMakeLists.txt +++ b/llvm/unittests/VMCore/CMakeLists.txt @@ -22,6 +22,12 @@ if(MSVC AND MSVC_VERSION LESS 1600) list(REMOVE_ITEM VMCoreSources ValueMapTest.cpp) endif() +# HACK: Declare a couple of source files as optionally compiled to satisfy the +# missing-file-checker in LLVM's weird CMake build. +set(LLVM_OPTIONAL_SOURCES + ValueMapTest.cpp + ) + add_llvm_unittest(VMCoreTests ${VMCoreSources} ) |

