Re: Appropriate location for cmake support files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mario Ceresa wrote:

> Hi all,
> does anybody know where should I put cmake support files such as:
> 
> OpenIGTLinkBuildSettings.cmake
> OpenIGTLinkConfig.cmake
> UseOpenIGTLink.cmake
> 
> in order for cmake to find them automatically? Can I put them in
> /usr/share/cmake/Modules/ ?
> 
> I read a lot of tutorials on how cmake's find_package works, but I'm
> still a bit confused... Maybe there is a packaging guideline somewhere
> and I missed it?

Under something like %_datadir/cmake/<foo> or %_libdir/cmake/<foo> depending 
on if this is arch-specific or not (I'm guessing yes, so most often the 
latter)

-- rex

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux