This page describes how to build MySQL distributions with CMake. Other resources that you might find useful:
Chapter 5, Autotools to CMake Transition Guide : If you have previously built MySQL using the GNU autotools, this guide shows how to map common autotools/configure options to CMake.
