Running make distrib produces a file called halide_config.cmake in the distrib folder that has no business existing. Its contents (on my system, at least) are:
# Machine-Generated: Do Not Edit
set(HALIDE_SYSTEM_LIBS -lrt -ldl -lpthread -lm -lz -ltinfo)
set(HALIDE_RTTI 1)