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                       or...@nwra.com
Boulder, CO 80301                   http://www.nwra.com
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to