cmake FLB_HAVE_LIBYAML examples

fluent/fluent-bit CMakeLists.txt :1021

check_c_source_compiles("
      #include <yaml.h>
      int main() {
        yaml_parser_t parser;
        return 0;
      }" FLB_HAVE_LIBYAML)