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
This commit is contained in:
Chandler Carruth 2014-04-30 23:31:45 +00:00
parent 7c44252b78
commit c42ddde78a

View File

@ -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