Re: [CMake] Install path for package files
As is also written in the stackoverflow answer, this information can be found in the cmake documentation for find_package[1]: prefix/ (W) prefix/(cmake|CMake)/ (W) prefix/name*/
[CMake] Install path for package files
So when I make a library that I want to be findable with cmake, I'd like the cpack system to work such that the module file is installed into the cmake module search path unless specified otherwise. I gather I need to create a BlahModule.cmake file that implements the package finding stuff. I