2015-06-17 21:00 GMT+02:00 Ondřej Čertík :
> and just use CMAKE_PREFIX_PATH instead of COMMON_DIR. I tried it in
> our code and it works.
the idea is, that there is no need for PKG1_INCLUDE_DIRS, no
PKG1_LIBRARIES and no PKG1_DIR
just one path per dependency in CMAKE_PREFIX_PATH
(or per group of d
Hi Oto,
On Wed, Jun 17, 2015 at 11:18 AM, Oto Petřík wrote:
> Hi,
>
>> Let's say my project wants to depend on a library PKG1 (here PKG1 can
>> be MPFR, MPC, PTHREAD, GMP, BZIP2, you name it). Let's say the library
>> is installed in $PKG1/include, $PKG1/lib, alternatively, all my
>> dependencies
Hi,
> Let's say my project wants to depend on a library PKG1 (here PKG1 can
> be MPFR, MPC, PTHREAD, GMP, BZIP2, you name it). Let's say the library
> is installed in $PKG1/include, $PKG1/lib, alternatively, all my
> dependencies are installed in $HASHSTACK/include and $HASHSTACK/lib,
> or perhaps
Hi,
What is the official recommended way to make your project depend on
other libraries using cmake?
Let's say my project wants to depend on a library PKG1 (here PKG1 can
be MPFR, MPC, PTHREAD, GMP, BZIP2, you name it). Let's say the library
is installed in $PKG1/include, $PKG1/lib, alternatively