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 | c2270a48e390b6ef970677f80df37c9c9fc3cc30 (patch) | |
tree | c82ff652988d4971993ec7dad3ff9bb6b28cd0b5 /unittests | |
parent | 4db98becf798a013ee00b82691af154e261d648e (diff) | |
download | external_llvm-c2270a48e390b6ef970677f80df37c9c9fc3cc30.zip external_llvm-c2270a48e390b6ef970677f80df37c9c9fc3cc30.tar.gz external_llvm-c2270a48e390b6ef970677f80df37c9c9fc3cc30.tar.bz2 |
llvm/unittests/VMCore/CMakeLists.txt: Introduce LLVM_OPTIONAL_SOURCES here, too.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158941 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r-- | unittests/VMCore/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/unittests/VMCore/CMakeLists.txt b/unittests/VMCore/CMakeLists.txt index 04eabf0..c7392a9 100644 --- a/unittests/VMCore/CMakeLists.txt +++ b/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} ) |