I am working on a port that tries to install its own Find<package>.cmake
file.  Is there a standard install directory, or "best" directory, to
install such .cmake files?

A search of my current MacPorts installs finds multiple choices within
$prefix; such as lib/cmake/<package>, lib/cmake/<package>/modules,
libexec/<package>/lib/cmake, share/<package>/src, share/cmake/Modules, and
share/<package>/cmake.  There is also an include/<package> example that I
don't trust because it is on the broken port that I am trying to fix.

I did not find guidance in MacPorts docs or Trac tickets.  I hope someone
on the dev list has experience in this.  Any advice?

Reply via email to