Skip to content
Snippets Groups Projects
Commit 37001e80 authored by Peter Collingbourne's avatar Peter Collingbourne
Browse files

Make vtables_blacklist dependency conditional on existence of clang target.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@261960 91177308-0d34-0410-b5e6-96231b3b80d8
parent c7025a69
No related branches found
No related tags found
No related merge requests found
......@@ -142,5 +142,7 @@ add_custom_command(OUTPUT ${dst}
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${src} ${dst}
COMMENT "Copying vtables blacklist")
add_custom_target(vtables_blacklist DEPENDS ${dst})
add_dependencies(clang vtables_blacklist)
if(TARGET clang)
add_dependencies(clang vtables_blacklist)
endif()
install(FILES ${src} DESTINATION lib${LLVM_LIBDIR_SUFFIX}/clang/${CLANG_VERSION})
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment