2015-06-17 21:00 GMT+02:00 Ondřej Čertík ondrej.cer...@gmail.com:
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
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