Some common CMake modules and functions.
Add it as a git submodule to your project:
git submodule add https://github.com/Ram-Z/cmake-modules cmake
And add the following in your top-level CMakeLists.txt
:
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)