On 09/14/2014 10:51 AM, Ximin Luo wrote: > the following paths will automatically be picked up by CMake: > > /usr/(lib/<arch>|lib|share)/cmake/$package/ > /usr/(lib/<arch>|lib|share)/$package/ > /usr/(lib/<arch>|lib|share)/$package/(cmake|CMake)/
Correct. >> http://www.cmake.org/cmake/help/git-master/manual/cmake-packages.7.html For reference, a more permanent URL for the current version of the document is: http://www.cmake.org/cmake/help/v3.0/manual/cmake-packages.7.html >> That document recommends /usr/lib/cmake as the install location; however that >> is arguably not compatible with FHS because cmake files are architecture >> independent, so should be in /usr/share/cmake The package configuration files are not always architecture independent. For some projects they are, for some projects they are not. Sometimes they contain information derived from the target architecture while building the project. -Brad -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org