mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-26 23:24:34 +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:
@ -22,6 +22,12 @@ if(MSVC AND MSVC_VERSION LESS 1600)
|
|||||||
list(REMOVE_ITEM VMCoreSources ValueMapTest.cpp)
|
list(REMOVE_ITEM VMCoreSources ValueMapTest.cpp)
|
||||||
endif()
|
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
|
add_llvm_unittest(VMCoreTests
|
||||||
${VMCoreSources}
|
${VMCoreSources}
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user