us...@inria.fr>, "CMake Mail List"
> <cmake@cmake.org>
> Envoyé: Vendredi 2 Février 2018 08:06:12
> Objet: RE: [CMake] How to get RPATH option (-Wl, -rpath, /path/to/local/lib)
> ?
> Hi
> There a wiki page covering this
> https://cmake.org/Wiki/CMake_RPATH_ha
[mailto:cmake-boun...@cmake.org] On Behalf Of Franck Houssen
Sent: 01 February 2018 09:46
To: CMake Mail List <cmake@cmake.org>
Subject: Re: [CMake] How to get RPATH option (-Wl, -rpath,
/path/to/local/lib) ?
OK, so I believe I just need to write "-Wl,rpath" in my templates o
ier 2018 10:39:51
> Objet: [CMake] How to get RPATH option (-Wl,-rpath,/path/to/local/lib) ?
> How to get RPATH option (-Wl,-rpath,/path/to/local/lib) ?
> I would like to create a *.pc/cmake file for users to find a library I
> provide. As there is possibly a LOT of dependencies (librari
How to get RPATH option (-Wl,-rpath,/path/to/local/lib) ?
I would like to create a *.pc/cmake file for users to find a library I provide.
As there is possibly a LOT of dependencies (libraries) I may not even be able
to list, the most simple way to do that is to use RPATH. I know that for gcc,