[Tellico-users] CMake Question

Pau Garcia i Quiles pgquiles at elpauer.org
Fri Aug 21 17:56:22 UTC 2009


On Fri, Aug 21, 2009 at 7:45 PM, Matthew Soffen<sirgeek at mrsucko.org> wrote:
> I'm trying to take a poke at updating the RPM Spec file to build the
> normal RPMs.
>
> However, since (like you) I'm no cmake experrt, I'm unable to find where
> you set "DATA_INSTALL_DIR" for your application.  I'm assuming that you
> are using whatever the cmake default for DATA_INSTALL_DIR is (
> /usr/local/share/apps ).
>
> For the RPM , I need to make this dir /usr/share/apps and I need to make
> the install directory /usr/bin/ (instead of /usr/local/bin).
>
> Any suggestions ?

You want to change the prefix. By default it is /usr/local, you want /usr.

Invoke CMake as cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr

-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)



More information about the tellico-users mailing list