From c42ddde78ad2002dac9e1df649aab13f25a2b482 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Wed, 30 Apr 2014 23:31:45 +0000 Subject: [PATCH] The newest versions of CMake require outputs of custom commands be in DEPENDS rather than SOURCES. The SOURCES just end up looking on the filesystem and not finding anything. Makes for very hard to debug build errors. =/ llvm-svn: 207722 --- compiler-rt/lib/dfsan/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/lib/dfsan/CMakeLists.txt b/compiler-rt/lib/dfsan/CMakeLists.txt index 18fe34576109..bb73d29d14de 100644 --- a/compiler-rt/lib/dfsan/CMakeLists.txt +++ b/compiler-rt/lib/dfsan/CMakeLists.txt @@ -34,7 +34,7 @@ endif() set(dfsan_abilist_filename ${COMPILER_RT_OUTPUT_DIR}/dfsan_abilist.txt) add_custom_target(dfsan_abilist ALL - SOURCES ${dfsan_abilist_filename}) + DEPENDS ${dfsan_abilist_filename}) add_custom_command(OUTPUT ${dfsan_abilist_filename} VERBATIM COMMAND