cmake HAVE_LIBCOMPRESSION examples

Lewuathe/mlir-hello thirdparty/llvm-project/lldb/cmake/modules/LLDBGenerateConfig.cmake :20

check_library_exists(compression compression_encode_buffer "" HAVE_LIBCOMPRESSION)