How to install your custom CMake-Find module
You can set CMAKE_MODULE_PATH and distribute your custom FindFoo.cmake with your project. For example: set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} “${CMAKE_SOURCE_DIR}/cmake/Modules/”)
You can set CMAKE_MODULE_PATH and distribute your custom FindFoo.cmake with your project. For example: set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} “${CMAKE_SOURCE_DIR}/cmake/Modules/”)