2.5. cmake

The cmake directory can contain <PackageGroup>_Settings.cmake and <PackageGroup>_<PackageName>_Settings.cmake files that define (compiler) settings for C++ projects of the given project.

[Note]Note

These settings files don't need to reside in the package that they are intended for. You just need to make sure that the package where they reside is always available when the package for which they are applied is used.

You can also put files like <ProjectName>Config.cmake here, which are needed for findPackage() calls in CMake files.