mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
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
This commit is contained in:
parent
4db98becf7
commit
c2270a48e3
@ -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}
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user