CMake
CMake is distributed under the OSI-approved BSD 3-clause License. Please see its Copyright.txt for details. The CMake source tree also contains some third-party components with compatible licenses.
KWSys
KWSys is distributed under the OSI-approved BSD 3-clause License. Please see its Copyright.txt for details.