Yes, CMake Find modules ( FindXyz.cmake files) are deprecated in favor of package configuration files (usually called XyzConfig.cmake ). The initial philosophy is that Find files are supplied and supported by CMake, and package configuration files are sent and supported by the package that they must find.
The CMake find_package actually has two modes: module mode (deprecated, using search modules) and configuration mode (preferably using the package configuration files).
For the client consuming the package, little needs to be changed (unless you need more settings, which is offered in find_package configuration find_package ).
Note that the commit itself to which you are attached is not only FindGLM.cmake , but also adds the glmConfig.cmake file.
source share