From 8c026e44cfa1197496df09bae6d9622805ccdd10 Mon Sep 17 00:00:00 2001 From: Stefan Granitz Date: Fri, 11 Jan 2019 21:59:58 +0000 Subject: [PATCH] [CMake] Fix standalone build after LLVM exports utility targets LLVM started exporting targets for utilites with https://reviews.llvm.org/rL350959, which broke compiler-rt standalone builds because it was used to define FileCheck manually. Changed this, so FileCheck gets imported now. llvm-svn: 350973 --- compiler-rt/test/CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/compiler-rt/test/CMakeLists.txt b/compiler-rt/test/CMakeLists.txt index 554ba5f..2e239d5 100644 --- a/compiler-rt/test/CMakeLists.txt +++ b/compiler-rt/test/CMakeLists.txt @@ -15,8 +15,6 @@ if(COMPILER_RT_BUILD_PROFILE AND COMPILER_RT_HAS_PROFILE) endif() if(COMPILER_RT_STANDALONE_BUILD) - add_executable(FileCheck IMPORTED GLOBAL) - set_property(TARGET FileCheck PROPERTY IMPORTED_LOCATION ${LLVM_TOOLS_BINARY_DIR}/FileCheck) list(APPEND SANITIZER_COMMON_LIT_TEST_DEPS FileCheck) endif() -- 2.7.4