[CMake] Quick-Fix FileCheck target does not exist when building against LLVM install-tree with COMPILER_RT_INCLUDE_TESTS=ON

The issue came up during release testing for LLVM 8: https://bugs.llvm.org/show_bug.cgi?id=40443

Differential Revision: https://reviews.llvm.org/D57224

llvm-svn: 352381
This commit is contained in:
Stefan Granitz 2019-01-28 16:14:57 +00:00
parent 94cca60b82
commit 6163039ce0
1 changed files with 0 additions and 4 deletions

View File

@ -14,10 +14,6 @@ if(COMPILER_RT_BUILD_PROFILE AND COMPILER_RT_HAS_PROFILE)
list(APPEND SANITIZER_COMMON_LIT_TEST_DEPS profile) list(APPEND SANITIZER_COMMON_LIT_TEST_DEPS profile)
endif() endif()
if(COMPILER_RT_STANDALONE_BUILD)
list(APPEND SANITIZER_COMMON_LIT_TEST_DEPS FileCheck)
endif()
# When ANDROID, we build tests with the host compiler (i.e. CMAKE_C_COMPILER), # When ANDROID, we build tests with the host compiler (i.e. CMAKE_C_COMPILER),
# and run tests with tools from the host toolchain. # and run tests with tools from the host toolchain.
if(NOT ANDROID) if(NOT ANDROID)