cmake HAS_TARGET examples

jrk/gradient-halide CMakeLists.txt :127

function(check_llvm_target TARGET HAS_TARGET)