Re: Appropriate location for cmake support files

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

 



Thanks Rex and Orion for the response!

Mario

On 18 April 2013 22:44, Orion Poplawski <orion@xxxxxxxxxxxxx> wrote:
> On 04/18/2013 02:23 PM, Rex Dieter wrote:
>>
>> 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
>>
>
> Where <foo> is probably %{name}.  There probably should be a guideline for
> this somewhere, but hopefully projects will install them in the proper
> place.
>
>
> --
> Orion Poplawski
> Technical Manager                     303-415-9701 x222
> NWRA, Boulder/CoRA Office             FAX: 303-415-9702
> 3380 Mitchell Lane                       orion@xxxxxxxx
> Boulder, CO 80301                   http://www.nwra.com
> --
> devel mailing list
> devel@xxxxxxxxxxxxxxxxxxxxxxx
> https://admin.fedoraproject.org/mailman/listinfo/devel
-- 
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